fix(ui): tabelceller skæres af ved egen bredde (textMaxWidth); ens bygningsnavne slås sammen ('Chicken Coop x5') i Oversigt (v1.19.3.0)

This commit is contained in:
2026-09-24 19:44:21 +02:00
parent 2ed79cf461
commit b86f420a41
7 changed files with 47 additions and 21 deletions
+16 -16
View File
@@ -74,28 +74,28 @@
</Bitmap>
<!-- Oversigt: én række pr. flow (flow · varer · fra · til · traktorer · status). Rækken er ~815 px bred. -->
<Bitmap profile="fs25_multiTextOptionContainer" id="flowPrefab">
<Text profile="spuCellBold" name="c1" position="20px 0px" size="150px 40px"/>
<Text profile="spuCell" name="c2" position="170px 0px" size="110px 40px"/>
<Text profile="spuCell" name="c3" position="280px 0px" size="170px 40px"/>
<Text profile="spuCell" name="c4" position="450px 0px" size="170px 40px"/>
<Text profile="spuCell" name="c5" position="620px 0px" size="50px 40px"/>
<Text profile="spuCell" name="c6" position="670px 0px" size="140px 40px"/>
<Text profile="spuCellBold" name="c1" position="20px 0px" size="150px 40px" textMaxWidth="142px"/>
<Text profile="spuCell" name="c2" position="170px 0px" size="110px 40px" textMaxWidth="102px"/>
<Text profile="spuCell" name="c3" position="280px 0px" size="170px 40px" textMaxWidth="162px"/>
<Text profile="spuCell" name="c4" position="450px 0px" size="170px 40px" textMaxWidth="162px"/>
<Text profile="spuCell" name="c5" position="620px 0px" size="50px 40px" textMaxWidth="42px"/>
<Text profile="spuCell" name="c6" position="670px 0px" size="140px 40px" textMaxWidth="132px"/>
</Bitmap>
<!-- Lagre: statistik-tabel (vare · i bygningen · værdi nu · ved toppris · gården · rækker til · forbrug/prod.) -->
<Bitmap profile="fs25_multiTextOptionContainer" id="statPrefab">
<Text profile="spuCellBold" name="c1" position="20px 0px" size="140px 40px"/>
<Text profile="spuCell" name="c2" position="160px 0px" size="145px 40px"/>
<Text profile="spuCell" name="c3" position="305px 0px" size="200px 40px"/>
<Text profile="spuCell" name="c4" position="405px 0px" size="100px 40px"/>
<Text profile="spuCell" name="c5" position="505px 0px" size="65px 40px"/>
<Text profile="spuCell" name="c6" position="570px 0px" size="80px 40px"/>
<Text profile="spuCell" name="c7" position="650px 0px" size="160px 40px"/>
<Text profile="spuCellBold" name="c1" position="20px 0px" size="140px 40px" textMaxWidth="132px"/>
<Text profile="spuCell" name="c2" position="160px 0px" size="145px 40px" textMaxWidth="137px"/>
<Text profile="spuCell" name="c3" position="305px 0px" size="200px 40px" textMaxWidth="192px"/>
<Text profile="spuCell" name="c4" position="405px 0px" size="100px 40px" textMaxWidth="92px"/>
<Text profile="spuCell" name="c5" position="505px 0px" size="65px 40px" textMaxWidth="57px"/>
<Text profile="spuCell" name="c6" position="570px 0px" size="80px 40px" textMaxWidth="72px"/>
<Text profile="spuCell" name="c7" position="650px 0px" size="160px 40px" textMaxWidth="152px"/>
</Bitmap>
<!-- Lagre: gårdens beholdning som gitter (bygning · 2 varer pr. række). Rækken er ~815 px bred. -->
<Bitmap profile="fs25_multiTextOptionContainer" id="gridPrefab">
<Text profile="spuCellBold" name="c1" position="20px 0px" size="270px 40px"/>
<Text profile="spuCell" name="c2" position="290px 0px" size="260px 40px"/>
<Text profile="spuCell" name="c3" position="550px 0px" size="260px 40px"/>
<Text profile="spuCellBold" name="c1" position="20px 0px" size="270px 40px" textMaxWidth="262px"/>
<Text profile="spuCell" name="c2" position="290px 0px" size="260px 40px" textMaxWidth="252px"/>
<Text profile="spuCell" name="c3" position="550px 0px" size="260px 40px" textMaxWidth="252px"/>
</Bitmap>
<!-- udkørsel: én række pr. vare med politik Fra/Lager/Salg/Salg, ellers lager -->
<Bitmap profile="fs25_multiTextOptionContainer" id="productPrefab">