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:
parent
609ebf4551
commit
97ece89aeb
1 changed files with 3 additions and 3 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue