ui: Fix font and box sizes for unit defense labels on the sidebar

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.
This commit is contained in:
Iris Morelle 2021-03-17 04:19:32 -03:00
parent 609ebf4551
commit 97ece89aeb

View file

@ -169,7 +169,7 @@
id=label-def
font_size={DEFAULT_FONT_TINY}
text= _ "def"
rect="+1,=,=,+12"
rect="+1,=,=,+14"
xanchor=right
yanchor=fixed
[/label]
@ -485,8 +485,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]