@@ -11,7 +11,6 @@ auto make_button(view &_view, Method method,
11
11
const std::vector<std::string> &files) {
12
12
auto on_click = [&_view, &files, method](bool ) {
13
13
auto dialog = make_dialog (_view, method, files);
14
- std::cout << MethodMap.at (method) << std::endl;
15
14
_view.add (dialog);
16
15
_view.refresh ();
17
16
};
@@ -28,11 +27,11 @@ auto make_buttons(view &_view, const std::vector<std::string> &files) {
28
27
auto cpu_smd_button = make_button (_view, Method::CPUSMD, files);
29
28
auto gpu_smd_button = make_button (_view, Method::GPUSMD, files);
30
29
31
- return htile (left_margin (10 , cpu_tenengrad_button),
32
- left_margin (10 , gpu_tenengrad_button),
33
- left_margin (10 , cpu_laplacian_button),
34
- left_margin (10 , gpu_laplacian_button),
35
- left_margin (10 , cpu_smd_button),
36
- left_margin (10 , gpu_smd_button));
30
+ return htile (left_margin (10 , vtile ( top_margin ( 10 , cpu_tenengrad_button),
31
+ top_margin (10 , gpu_tenengrad_button)) ),
32
+ left_margin (10 , vtile ( top_margin ( 10 , cpu_laplacian_button),
33
+ top_margin (10 , gpu_laplacian_button)) ),
34
+ left_margin (10 , vtile ( top_margin ( 10 , cpu_smd_button),
35
+ top_margin (10 , gpu_smd_button)) ));
37
36
}
38
37
} // namespace ui
0 commit comments