mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 21:48:48 +00:00
Make eras and mods menus the same width for alignment
This commit is contained in:
parent
e527969bdc
commit
ec52e2e0cd
@ -725,6 +725,10 @@ void create::layout_children(const SDL_Rect& rect)
|
||||
select_mod_.set_location(xpos, ypos);
|
||||
}
|
||||
|
||||
// Make eras and mods menus the same width for alignment
|
||||
eras_menu_.set_width(std::max(mods_menu_.width(),eras_menu_.width()));
|
||||
mods_menu_.set_width(std::max(mods_menu_.width(),eras_menu_.width()));
|
||||
|
||||
// OK / Cancel buttons
|
||||
gui::button* left_button = &launch_game_;
|
||||
gui::button* right_button = &cancel_game_;
|
||||
|
Loading…
x
Reference in New Issue
Block a user