ui: Rearrange and resize the unit vision and XP labels slightly

This makes it so the unit vision label uses a smaller font on smaller
resolutions. It also makes it so it doesn't take space away from the XP
report for all resolutions. Meanwhile, the XP report has more space.

CC #5575
This commit is contained in:
Iris Morelle 2021-03-17 19:38:49 -03:00
parent 1d733823b5
commit ffbc7ebc57

View file

@ -470,7 +470,7 @@
id=unit-xp
font_size={DEFAULT_FONT_TINY}
ref=label-xp
rect="=,+0,=,+14"
rect="=,+0,+94,+14"
prefix_literal=" "
xanchor=right
yanchor=fixed
@ -604,8 +604,8 @@
[/change]
[change]
id=unit-vision
font_size={DEFAULT_FONT_TINY}
rect="=,+0,=,+{DEFAULT_FONT_TINY_HEIGHT}"
font_size={DEFAULT_FONT_REALLYTINY}
rect="+0,=,=+60,+{DEFAULT_FONT_REALLYTINY_HEIGHT_SHORTER}"
[/change]
[change]
id=unit-race