prevent friends_back_button_ from being hidden by friends list

note: the layout of this panel still looks ugly and could use a re-design
This commit is contained in:
Patrick Parker 2007-06-17 18:24:36 +00:00
parent 139171b05b
commit 710c031ea8

View file

@ -708,7 +708,7 @@ void preferences_dialog::update_location(SDL_Rect const &rect)
friends_input_.set_location(rect.x,ypos);
friends_.set_location(rect.x,ypos + item_interline);
friends_.set_max_height(height()-100);
friends_.set_max_height(height() - 100 - friends_back_button_.height());
int friends_xpos;