attempt to fix text disappearing on low UI scale

This commit is contained in:
Spit
2025-09-29 23:51:17 +03:00
parent 0a3353be71
commit 948ce53628
+17 -17
View File
@@ -27,7 +27,7 @@
</Anchor> </Anchor>
</Anchors> </Anchors>
</Texture> </Texture>
<FontString name="$parent_Quantity" font="Fonts\ARIALN.TTF" outline="NORMAL" justifyH="RIGHT" hidden="false"> <FontString name="$parent_Quantity" font="Fonts\ARIALN.TTF" outline="NORMAL" justifyH="RIGHT">
<Size> <Size>
<AbsDimension x="25" y="0"/> <AbsDimension x="25" y="0"/>
</Size> </Size>
@@ -631,7 +631,7 @@
</Size> </Size>
</Button> </Button>
<Button name="AtlasLootItem_ParentTemplate" virtual="true" hidden="false"> <Button name="AtlasLootItem_ParentTemplate" virtual="true">
<Size> <Size>
<AbsDimension x="236" y="28"/> <AbsDimension x="236" y="28"/>
</Size> </Size>
@@ -650,9 +650,9 @@
</Anchor> </Anchor>
</Anchors> </Anchors>
</Texture> </Texture>
<FontString name="$parent_Quantity" font="Fonts\ARIALN.TTF" outline="NORMAL" justifyH="RIGHT" hidden="false"> <FontString name="$parent_Quantity" font="Fonts\ARIALN.TTF" outline="NORMAL" justifyH="RIGHT">
<Size> <Size>
<AbsDimension x="25" y="0"/> <AbsDimension x="25" y="14"/>
</Size> </Size>
<FontHeight> <FontHeight>
<AbsValue val="12"/> <AbsValue val="12"/>
@@ -667,7 +667,7 @@
</FontString> </FontString>
<FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT"> <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT">
<Size> <Size>
<AbsDimension x="205" y="12"/> <AbsDimension x="205" y="14"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT"> <Anchor point="TOPLEFT" relativeTo="$parent_Icon" relativePoint="TOPRIGHT">
@@ -679,7 +679,7 @@
</FontString> </FontString>
<FontString name="$parent_Extra" inherits="GameFontNormalSmall" justifyH="LEFT" hidden="true"> <FontString name="$parent_Extra" inherits="GameFontNormalSmall" justifyH="LEFT" hidden="true">
<Size> <Size>
<AbsDimension x="205" y="10"/> <AbsDimension x="205" y="12"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"> <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT">
@@ -691,7 +691,7 @@
</FontString> </FontString>
<FontString name="$parent_PriceText1" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="333333"> <FontString name="$parent_PriceText1" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="333333">
<Size> <Size>
<AbsDimension x="60" y="10"/> <AbsDimension x="60" y="12"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT"> <Anchor point="TOPLEFT" relativeTo="$parent_Name" relativePoint="BOTTOMLEFT">
@@ -711,7 +711,7 @@
</Texture> </Texture>
<FontString name="$parent_PriceText2" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120"> <FontString name="$parent_PriceText2" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120">
<Size> <Size>
<AbsDimension x="20" y="10"/> <AbsDimension x="20" y="12"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon1" relativePoint="TOPRIGHT"/> <Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon1" relativePoint="TOPRIGHT"/>
@@ -727,7 +727,7 @@
</Texture> </Texture>
<FontString name="$parent_PriceText3" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120"> <FontString name="$parent_PriceText3" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120">
<Size> <Size>
<AbsDimension x="20" y="10"/> <AbsDimension x="20" y="12"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon2" relativePoint="TOPRIGHT"/> <Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon2" relativePoint="TOPRIGHT"/>
@@ -743,7 +743,7 @@
</Texture> </Texture>
<FontString name="$parent_PriceText4" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120"> <FontString name="$parent_PriceText4" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120">
<Size> <Size>
<AbsDimension x="20" y="10"/> <AbsDimension x="20" y="12"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon3" relativePoint="TOPRIGHT"/> <Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon3" relativePoint="TOPRIGHT"/>
@@ -759,7 +759,7 @@
</Texture> </Texture>
<FontString name="$parent_PriceText5" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120"> <FontString name="$parent_PriceText5" inherits="GameFontNormalSmall" justifyH="RIGHT" hidden="true" text="120">
<Size> <Size>
<AbsDimension x="20" y="10"/> <AbsDimension x="20" y="12"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon4" relativePoint="TOPRIGHT"/> <Anchor point="TOPLEFT" relativeTo="$parent_PriceIcon4" relativePoint="TOPRIGHT"/>
@@ -800,7 +800,7 @@
</Layers> </Layers>
</Button> </Button>
<Button name="AtlasLootItem_Template" inherits="AtlasLootItem_ParentTemplate" virtual="true" hidden="false"> <Button name="AtlasLootItem_Template" inherits="AtlasLootItem_ParentTemplate" virtual="true">
<Scripts> <Scripts>
<OnLoad> <OnLoad>
this:RegisterForClicks("LeftButtonDown", "RightButtonDown"); this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
@@ -821,7 +821,7 @@
</Scripts> </Scripts>
</Button> </Button>
<Button name="AtlasLootMenuItem_Template" inherits="AtlasLootItem_ParentTemplate" virtual="true" hidden="false"> <Button name="AtlasLootMenuItem_Template" inherits="AtlasLootItem_ParentTemplate" virtual="true">
<Scripts> <Scripts>
<OnLoad> <OnLoad>
this:RegisterForClicks("LeftButtonDown", "RightButtonDown"); this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
@@ -835,7 +835,7 @@
</Scripts> </Scripts>
</Button> </Button>
<Frame name="AtlasLootInfo" hidden="false"> <Frame name="AtlasLootInfo">
<Size> <Size>
<AbsDimension x="128" y="75"/> <AbsDimension x="128" y="75"/>
</Size> </Size>
@@ -907,7 +907,7 @@
<Layer level="OVERLAY"> <Layer level="OVERLAY">
<FontString name="$parent_Text1" inherits="GameFontNormalSmall" text="ATLASLOOT_VERSION" justifyH="LEFT"> <FontString name="$parent_Text1" inherits="GameFontNormalSmall" text="ATLASLOOT_VERSION" justifyH="LEFT">
<Size> <Size>
<AbsDimension x="180" y="10"/> <AbsDimension x="180" y="12"/>
</Size> </Size>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"> <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset> <Offset>
@@ -917,7 +917,7 @@
</FontString> </FontString>
<FontString name="$parent_Text2" inherits="GameFontNormalSmall" justifyH="LEFT"> <FontString name="$parent_Text2" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size> <Size>
<AbsDimension x="180" y="10"/> <AbsDimension x="180" y="12"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent_Text1" relativePoint="BOTTOMLEFT"> <Anchor point="TOPLEFT" relativeTo="$parent_Text1" relativePoint="BOTTOMLEFT">
@@ -1309,7 +1309,7 @@
<Layer level="OVERLAY"> <Layer level="OVERLAY">
<FontString name="AtlasLoot_BossName" inherits="GameFontHighlightLarge" justifyH="CENTER"> <FontString name="AtlasLoot_BossName" inherits="GameFontHighlightLarge" justifyH="CENTER">
<Size> <Size>
<AbsDimension x="512" y="30"/> <AbsDimension x="512" y="34"/>
</Size> </Size>
<Anchors> <Anchors>
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP"/> <Anchor point="TOP" relativeTo="$parent" relativePoint="TOP"/>