Unit Preview Pane: set default widget dimensions
This gives the pane some extra height by default so that an initially shown unit will few attacks doesn't cause a scrollbar to be shown for others with more.
This commit is contained in:
parent
92a2baa38a
commit
e2065867a6
1 changed files with 5 additions and 4 deletions
|
@ -130,7 +130,8 @@
|
||||||
vertical_grow = "true"
|
vertical_grow = "true"
|
||||||
horizontal_grow = "true"
|
horizontal_grow = "true"
|
||||||
|
|
||||||
{GUI_FORCE_WIDGET_MINIMUM_SIZE 225 0 (
|
# TODO: remove this if default_width is sufficient
|
||||||
|
#{GUI_FORCE_WIDGET_MINIMUM_SIZE 225 0 (
|
||||||
[tree_view]
|
[tree_view]
|
||||||
id = "tree_details"
|
id = "tree_details"
|
||||||
indentation_step_size = 8
|
indentation_step_size = 8
|
||||||
|
@ -228,7 +229,7 @@
|
||||||
[/node_definition]
|
[/node_definition]
|
||||||
[/node]
|
[/node]
|
||||||
[/tree_view]
|
[/tree_view]
|
||||||
)}
|
#)}
|
||||||
[/column]
|
[/column]
|
||||||
|
|
||||||
[/row]
|
[/row]
|
||||||
|
@ -386,8 +387,8 @@
|
||||||
min_width = 0
|
min_width = 0
|
||||||
min_height = 0
|
min_height = 0
|
||||||
|
|
||||||
default_width = 0
|
default_width = 225
|
||||||
default_height = 0
|
default_height = 500
|
||||||
|
|
||||||
max_width = 0
|
max_width = 0
|
||||||
max_height = 0
|
max_height = 0
|
||||||
|
|
Loading…
Add table
Reference in a new issue