Fixed name button overwriting the side list.

This commit is contained in:
Guillaume Melquiond 2010-08-10 16:05:54 +00:00
parent 42835b54d8
commit c465da9277

View File

@ -1437,7 +1437,7 @@ void connect::layout_children(const SDL_Rect& rect)
add_local_player_.set_help_string(_("Adds a named hotseat player to the player list"));
add_local_player_.set_location(left + gui::ButtonHPadding, bottom -
waiting_label_.height() - gui::ButtonVPadding - add_local_player_.height());
add_local_player_.height());
SDL_Rect scroll_pane_rect;
scroll_pane_rect.x = ca.x;