Skip to content

Commit

Permalink
ui: Fix font and box sizes for unit defense labels on the sidebar
Browse files Browse the repository at this point in the history
This fixes the "def" label (previously unknown to everybody before the
sdl_ttf_compat API transition!) having the wrong box size and alignment.
This also extends to its accompanying unit defense report, which had the
wrong font size entirely.
  • Loading branch information
irydacea committed Mar 18, 2021
1 parent 23fc509 commit bb15f80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/themes/default.cfg
Expand Up @@ -167,7 +167,7 @@
id=label-def
font_size={DEFAULT_FONT_TINY}
text= _ "def"
rect="+1,=,=,+12"
rect="+1,=,=,+14"
xanchor=right
yanchor=fixed
[/label]
Expand Down Expand Up @@ -483,8 +483,8 @@
[unit_defense]
ref=label-def
id=unit-defense
font_size={DEFAULT_FONT_SMALL}
rect="=-5,+0,+30,+16"
font_size={DEFAULT_FONT_TINY}
rect="=-5,+0,+30,+14"
xanchor=right
yanchor=fixed
[/unit_defense]
Expand Down

0 comments on commit bb15f80

Please sign in to comment.