Skip to content

Commit

Permalink
tgamestate_inspector: Fix top listbox sometimes disappearing in small…
Browse files Browse the repository at this point in the history
… resolutions
  • Loading branch information
CelticMinstrel committed Mar 23, 2016
1 parent a7e7036 commit 36eba6e
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions data/gui/window/gamestate_inspector.cfg
Expand Up @@ -83,7 +83,9 @@
border = "all"
border_size = 5
horizontal_grow = "true"

# wmlindent: start ignoring
{GUI_FORCE_WIDGET_MINIMUM_SIZE 150 "(as_decimal(screen_height) / 3)" (
# wmlindent: stop ignoring
[listbox]
id = "stuff_types_list"
definition = "default"
Expand Down Expand Up @@ -138,6 +140,9 @@
[/row]
[/list_definition]
[/listbox]
# wmlindent: start ignoring
)}
# wmlindent: stop ignoring
[/column]
[/row]

Expand All @@ -148,7 +153,9 @@
border = "all"
border_size = 5
horizontal_grow = "false"

# wmlindent: start ignoring
{GUI_FORCE_WIDGET_MINIMUM_SIZE 150 "(as_decimal(screen_height) * 2 / 3 - 200)" (
# wmlindent: stop ignoring
[listbox]
id = "stuff_list"
definition = "default"
Expand Down Expand Up @@ -203,6 +210,9 @@
[/row]
[/list_definition]
[/listbox]
# wmlindent: start ignoring
)}
# wmlindent: stop ignoring
[/column]
[/row]
[/grid]
Expand Down

0 comments on commit 36eba6e

Please sign in to comment.