1
0
forked from mirrors/0ad

Revert "Fix position of the ingame release label"

This reverts commit dc156c3f24.

The original commit addressed incorrect UI alignment caused by improper
handling of font height and linespacing after FreeType integration
(introduced in 734386ce9f).

However, commit c2d529b975 corrected the root issue by standardizing
font metrics:
- Proper use of FreeType's height
- Removal of lineSpace
- Introduction of getCapHeight and Descender for accurate vertical
  alignment

As a result, the UI offset workaround is now obsolete and must be
reverted to reflect the correct baseline behavior.
This commit is contained in:
trompetin17
2025-06-04 20:05:05 -05:00
parent b1123ff259
commit 79104db2c5
@@ -2,7 +2,7 @@
<object name="buildLabel" ghost="true">
<!-- IMPORTANT: remember to update pregame/ProjectInformation.js in sync with this: -->
<object type="text" style="ModernLabelText" text_valign="top" ghost="true" size="0% -3 100% 100%">
<object type="text" style="ModernLabelText" text_valign="top" ghost="true" size="0% 1 100% 100%">
<translatableAttribute id="caption">Release XXVIII: B——</translatableAttribute>
</object>