0ad/binaries/data/mods/public/gui/common/setup.xml
trompetin17 b1123ff259
Revert "Fix element positions after new font rendering"
This reverts commit 52ee6ad470.

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.
2025-06-11 08:10:57 -05:00

130 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<setup>
<!--
==========================================
- SETUP - ICONS
==========================================
-->
<icon name="iconInfo"
sprite="iconInfoGold"
size="16 16"
/>
<!--
==========================================
- SETUP - TOOLTIPS
==========================================
-->
<tooltip name="pgToolTip"
use_object="pgToolTip"
delay="0"
hide_object="true"
/>
<tooltip name="snToolTip"
anchor="top"
buffer_zone="4"
delay="500"
font="sans-14"
maxwidth="400"
offset="16 32"
sprite="BackgroundWhiteBorderBlack"
textcolor="0 0 0"
/>
<tooltip name="snToolTipBottom"
anchor="bottom"
buffer_zone="4"
delay="500"
font="sans-14"
maxwidth="400"
offset="-4 -4"
sprite="BackgroundWhiteBorderBlack"
textcolor="0 0 0"
/>
<tooltip name="sessionToolTip"
anchor="top"
buffer_zone="4"
delay="100"
font="sans-14"
maxwidth="400"
offset="16 32"
sprite="BackgroundSessionTooltip"
textcolor="255 255 255"
/>
<tooltip name="sessionToolTipInstantly"
anchor="top"
buffer_zone="4"
delay="0"
font="sans-14"
maxwidth="400"
offset="16 32"
sprite="BackgroundSessionTooltip"
textcolor="255 255 255"
/>
<tooltip name="sessionToolTipBottom"
anchor="bottom"
buffer_zone="4"
delay="100"
font="sans-14"
maxwidth="400"
offset="-4 -4"
sprite="BackgroundSessionTooltip"
textcolor="255 255 255"
/>
<tooltip name="sessionToolTipBold"
anchor="top"
buffer_zone="4"
delay="100"
font="sans-bold-14"
maxwidth="400"
offset="16 32"
sprite="BackgroundSessionTooltip"
textcolor="255 255 255"
/>
<tooltip name="sessionToolTipBottomBold"
anchor="bottom"
buffer_zone="4"
delay="100"
font="sans-bold-14"
maxwidth="400"
offset="-4 -4"
sprite="BackgroundSessionTooltip"
textcolor="255 255 255"
/>
<!--
==========================================
- SETUP - COLORS
==========================================
-->
<color name="black">0 0 0</color>
<color name="white">255 255 255</color>
<color name="red">255 0 0</color>
<color name="blue">0 0 255</color>
<color name="yellow">255 255 0</color>
<color name="gold">237 227 167</color>
<color name="lightgray">243 242 240</color>
<color name="gray">143 142 140</color>
<color name="darkgray">43 42 40</color>
<color name="green">0 200 0</color>
<color name="mustard">191 191 2</color>
<color name="brown">159 98 24</color>
<color name="orange">255 165 0</color>
<color name="darkred">80 0 0</color>
<color name="darkbrown">30 20 10</color>
<color name="transparent">0 0 0 0</color>
</setup>