tgamestate_inspector: Fix top listbox sometimes disappearing in small resolutions
This commit is contained in:
parent
a7e7036c44
commit
36eba6e833
1 changed files with 12 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue