Fix custom options layout.

Pass the correct arguments to options_manager::layout_children.
This commit is contained in:
Boldizsár Lipka 2013-12-21 13:08:19 +01:00
parent 63a7446925
commit a1e6eb821a

View file

@ -659,7 +659,7 @@ void configure::layout_children(const SDL_Rect& rect)
options_pane_right_.add_widget(&village_gold_slider_, xpos_right, ypos_right);
ypos_right += village_gold_slider_.height() + 3 * border_size;
options_manager_.layout_widgets(xpos, ypos);
options_manager_.layout_widgets(xpos_right, ypos_right);
// OK / Cancel buttons
gui::button* left_button = &launch_game_;