From 36eba6e8336dfbfb03479c3a009c49dd7ab98bc4 Mon Sep 17 00:00:00 2001 From: Celtic Minstrel Date: Wed, 23 Mar 2016 12:33:36 -0400 Subject: [PATCH] tgamestate_inspector: Fix top listbox sometimes disappearing in small resolutions --- data/gui/window/gamestate_inspector.cfg | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/data/gui/window/gamestate_inspector.cfg b/data/gui/window/gamestate_inspector.cfg index 06e1ac0e5d95..61c841060c5d 100644 --- a/data/gui/window/gamestate_inspector.cfg +++ b/data/gui/window/gamestate_inspector.cfg @@ -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" @@ -138,6 +140,9 @@ [/row] [/list_definition] [/listbox] +# wmlindent: start ignoring +)} +# wmlindent: stop ignoring [/column] [/row] @@ -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" @@ -203,6 +210,9 @@ [/row] [/list_definition] [/listbox] +# wmlindent: start ignoring +)} +# wmlindent: stop ignoring [/column] [/row] [/grid]