Skip to content

Commit

Permalink
Removed some unnecessary minimum size forcing
Browse files Browse the repository at this point in the history
Using grow factors properly removes the need for these as long as the chatboxes are set to a minimum size
  • Loading branch information
Vultraz committed Oct 12, 2016
1 parent cea34e7 commit 0ac4c0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
9 changes: 4 additions & 5 deletions data/gui/window/lobby_main.cfg
Expand Up @@ -895,13 +895,12 @@
[row]
grow_factor = 1
[column]
border = "all"
border_size = 5
horizontal_grow = "true"
vertical_grow = "true"
{GUI_FORCE_WIDGET_MINIMUM_SIZE 0 "((screen_height * 55) / 100)" (
border = "all"
border_size = 5
{GAMELISTBOX}
)}

{GAMELISTBOX}
[/column]
[/row]

Expand Down
4 changes: 1 addition & 3 deletions data/gui/window/mp_join_game.cfg
Expand Up @@ -537,9 +537,7 @@
horizontal_grow = "true"
vertical_grow = "true"

{GUI_FORCE_WIDGET_MINIMUM_SIZE 0 "((screen_height * 55) / 100)" (
{_GUI_SIDE_LIST}
)}
{_GUI_SIDE_LIST}
[/column]

[/row]
Expand Down
4 changes: 1 addition & 3 deletions data/gui/window/mp_staging.cfg
Expand Up @@ -672,9 +672,7 @@
horizontal_grow = "true"
vertical_grow = "true"

{GUI_FORCE_WIDGET_MINIMUM_SIZE 0 "((screen_height * 55) / 100)" (
{_GUI_SIDE_LIST}
)}
{_GUI_SIDE_LIST}
[/column]

[/row]
Expand Down

0 comments on commit 0ac4c0f

Please sign in to comment.