Skip to content

Commit

Permalink
gui2/drop_down_menu: Make display of entry details more orderly
Browse files Browse the repository at this point in the history
The primary target of this change is hotkey labels in game menus. This
aligns them all to the right of the menu and increases the space between
them and the menu item label proper to attain a cleaner appearance.
  • Loading branch information
irydacea committed Mar 20, 2021
1 parent 96fba6b commit 2fac56c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.md
Expand Up @@ -56,6 +56,7 @@
* Made the Defense display label on the sidebar visible (a side-effect of replacing SDL_ttf) and rearranged it slightly.
* Set the correct default text color for in-game UI elements instead of #ffffff white for consistency with other UI elements.
* Increased font sizes in Help and some legacy UI elements.
* Minor clean-up of game menus display.
### WML Engine
* Standard Location Filters now support gives_income=yes|no to make it simpler to match villages regardless of owner
* Fixed ThemeWML `[label] font_rgb=` generating text elements with broken UTF-8 sequences.
Expand Down
9 changes: 9 additions & 0 deletions data/gui/window/drop_down_list.cfg
Expand Up @@ -115,6 +115,14 @@ min(
[/label]
[/column]

[column]
grow_factor = 0
[spacer]
definition = "default"
width = 20
[/spacer]
[/column]

[column]
grow_factor = 1
border = "right,top,bottom"
Expand All @@ -124,6 +132,7 @@ min(
id = "details"
definition = "default_small"
linked_group = "details"
text_alignment = "right"
[/label]
[/column]

Expand Down

0 comments on commit 2fac56c

Please sign in to comment.