Browse Source

合成名字宽度自适应

zhaoyang 3 years ago
parent
commit
7b92de0dc7

+ 1 - 1
FGUIProject/assets/ClothingSynthetic/ClothingSyntheticUI.xml

@@ -20,7 +20,7 @@
     <text id="n27_j539" name="txtProgress" xy="420,1522" size="246,36" fontSize="26" color="#8c6e61" ubb="true" vars="true" text="套装制作进度:[color=#ff9966]{v1=8}[/color]/{v2=10}">
     <text id="n27_j539" name="txtProgress" xy="420,1522" size="246,36" fontSize="26" color="#8c6e61" ubb="true" vars="true" text="套装制作进度:[color=#ff9966]{v1=8}[/color]/{v2=10}">
       <relation target="" sidePair="center-center"/>
       <relation target="" sidePair="center-center"/>
     </text>
     </text>
-    <list id="n30_j539" name="listClothing" xy="64,1590" size="952,275" layout="flow_hz" overflow="scroll" lineGap="30" colGap="60" defaultItem="ui://4f294tdkj5391a" autoClearItems="true">
+    <list id="n30_j539" name="listClothing" xy="74,1590" pivot="0.5,0" size="945,275" layout="flow_hz" overflow="scroll" lineGap="30" colGap="50" defaultItem="ui://4f294tdkj5391a" align="center" autoClearItems="true">
       <relation target="" sidePair="bottomext-bottom"/>
       <relation target="" sidePair="bottomext-bottom"/>
       <item/>
       <item/>
       <item/>
       <item/>

+ 1 - 1
FGUIProject/assets/ClothingSynthetic/components/ClothingListItem.xml

@@ -4,6 +4,6 @@
     <image id="n29_j539" name="bg" src="ja9w1g" fileName="images/hc_kuang_2.png" xy="0,0" size="186,186"/>
     <image id="n29_j539" name="bg" src="ja9w1g" fileName="images/hc_kuang_2.png" xy="0,0" size="186,186"/>
     <loader id="n24_j539" name="loaderIcon" xy="18,18" size="150,150" fill="scale" shrinkOnly="true"/>
     <loader id="n24_j539" name="loaderIcon" xy="18,18" size="150,150" fill="scale" shrinkOnly="true"/>
     <image id="n25_j539" name="imgOwned" src="j53912" fileName="images/hc_yyy.png" xy="4,73"/>
     <image id="n25_j539" name="imgOwned" src="j53912" fileName="images/hc_yyy.png" xy="4,73"/>
-    <text id="n26_j539" name="txtName" xy="31,200" size="122,41" fontSize="30" color="#5e5b5a" text="服装名称"/>
+    <text id="n26_j539" name="txtName" xy="31,200" pivot="0.5,0" size="122,42" fontSize="30" color="#5e5b5a" text="服装名称"/>
   </displayList>
   </displayList>
 </component>
 </component>

BIN
GameClient/Assets/ResIn/UI/ClothingSynthetic/ClothingSynthetic_fui.bytes