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:
parent
139171b05b
commit
710c031ea8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue