gui2/drop_down_menu: Make display of entry details more orderly

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.
This commit is contained in:
Iris Morelle 2021-03-20 01:24:08 -03:00
parent 96fba6b833
commit 2fac56c21f
2 changed files with 10 additions and 0 deletions

View file

@ -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.

View file

@ -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"
@ -124,6 +132,7 @@ min(
id = "details"
definition = "default_small"
linked_group = "details"
text_alignment = "right"
[/label]
[/column]