Skip to content

Commit

Permalink
gui2/statistics_dialog: Minor restyling
Browse files Browse the repository at this point in the history
 * Moved the combobox (sorry celmin) to the top right in a manner akin
   to the search boxes in dialogs with those.
 * Switched list headers to using the gold_small label variation.
  • Loading branch information
irydacea committed Feb 17, 2021
1 parent f8d7969 commit 5d67c19
Showing 1 changed file with 33 additions and 25 deletions.
58 changes: 33 additions & 25 deletions data/gui/window/statistics_dialog.cfg
Expand Up @@ -125,7 +125,7 @@
border_size = 5

[label]
definition = "default_small"
definition = "gold_small"
label = {TOP_LEFT_LABEL}
linked_group = "type"
[/label]
Expand All @@ -137,7 +137,7 @@
border_size = 5

[label]
definition = "default_small"
definition = "gold_small"
label = _ "Overall"
linked_group = "detail"
[/label]
Expand All @@ -150,7 +150,7 @@

[label]
id = {THIS_TURN_HEADER_ID}
definition = "default_small"
definition = "gold_small"
linked_group = "cost"
[/label]
[/column]
Expand Down Expand Up @@ -470,36 +470,44 @@
[row]

[column]
grow_factor = 1
horizontal_grow = true

border = "all"
border_size = 5
horizontal_alignment = "left"
[grid]

[label]
id = "title"
definition = "title"
[row]

label = _ "Statistics"
[/label]
[column]
grow_factor = 1

[/column]
border = "all"
border_size = 5
horizontal_alignment = "left"

[/row]
[label]
id = "title"
definition = "title"

[row]
grow_factor = 0
label = _ "Statistics"
[/label]

[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "left"
[/column]

[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "right"

[menu_button]
id = "scenario_menu"
definition = "default"
[/menu_button]
[/column]

[/row]

[/grid]

[menu_button]
id = "scenario_menu"
definition = "default"
[/menu_button]
[/column]

[/row]
Expand Down

0 comments on commit 5d67c19

Please sign in to comment.