- y += 20;
- add_subwindow(batch_list = new BatchRenderList(thread,
- x,
- y,
- get_w() - x - 10,
- get_h() - y - BC_GenericButton::calculate_h() - 15));
-
- y += batch_list->get_h() + 10;
- add_subwindow(start_button = new BatchRenderStart(thread,
- x,
- y));
- x = get_w() / 2 -
- BC_GenericButton::calculate_w(this, _("Stop")) / 2;
- add_subwindow(stop_button = new BatchRenderStop(thread,
- x,
- y));
- x = get_w() -
- BC_GenericButton::calculate_w(this, _("Close")) -
- 10;
- add_subwindow(cancel_button = new BatchRenderCancel(thread,
- x,
- y));
+ y += list_title->get_h() + mwindow->theme->widget_border;
+ y1 = get_h();
+ y1 -= 15 + BC_GenericButton::calculate_h() + mwindow->theme->widget_border;
+ add_subwindow(batch_list = new BatchRenderList(thread, x, y,
+ get_w() - x - 10, y1 - y));
+ y += batch_list->get_h() + mwindow->theme->widget_border;
+
+ add_subwindow(start_button = new BatchRenderStart(thread, x, y));
+ x = get_w() / 2 - BC_GenericButton::calculate_w(this, _("Stop")) / 2;
+ add_subwindow(stop_button = new BatchRenderStop(thread, x, y));
+ x = get_w() - BC_GenericButton::calculate_w(this, _("Close")) - 10;
+ add_subwindow(cancel_button = new BatchRenderCancel(thread, x, y));