Statistics Dialog: some WML layout tweaks

This commit is contained in:
Charles Dang 2016-11-20 17:10:04 +11:00
parent d10cbb8f44
commit 27b48683b1

View file

@ -26,7 +26,7 @@
[row]
[column]
grow_factor = 2
grow_factor = 1
border = "all"
border_size = 5
horizontal_grow = "true"
@ -38,30 +38,46 @@
[/label]
[/column]
# In order to keep the stat_cost label aligned with the 'cost' group linked value in the
# damage list, we keep the gold icon in a grid with the stat_detail label. Similarly, since
# border sizes aren't considered in linked group size calculations, we give the border to
# the grid instead of excluding borders from certain sides of the child cells.
[column]
grow_factor = 2
grow_factor = 1
border = "all"
border_size = 5
horizontal_grow = "true"
[label]
id = "stat_detail"
definition = "default_small"
[grid]
linked_group = "detail"
[/label]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = "true"
[row]
[column]
grow_factor = 1
horizontal_grow = "true"
[label]
id = "stat_detail"
definition = "default_small"
[/label]
[/column]
[column]
grow_factor = 0
horizontal_grow = "true"
[image]
id = "cost_icon"
definition = "default"
label = "themes/gold.png"
[/image]
[/column]
[/row]
[/grid]
[image]
id = "cost_icon"
definition = "default"
label = "themes/gold.png"
[/image]
[/column]
[column]
@ -104,9 +120,8 @@
[row]
[column]
grow_factor = 1
horizontal_grow = "true"
border = "top,bottom"
border = "all"
border_size = 5
[label]
@ -117,9 +132,8 @@
[/column]
[column]
grow_factor = 1
horizontal_grow = "true"
border = "top,bottom"
border = "all"
border_size = 5
[label]
@ -130,9 +144,8 @@
[/column]
[column]
grow_factor = 1
horizontal_grow = "true"
border = "top,bottom"
border = "all"
border_size = 5
[label]