zhaoyang 2 жил өмнө
parent
commit
992c8d67b1

+ 5 - 4
FGUIProject/assets/DressUp/PhotographUI.xml

@@ -29,18 +29,19 @@
     <group id="n16_9ico" name="n16" xy="940,409" size="125,415" advanced="true" layout="vt" lineGap="20" excludeInvisibles="true">
       <relation target="" sidePair="right-right,top-top"/>
     </group>
-    <component id="n5_7dea" name="ComSelectRes" src="7dea4f" fileName="components/ComItemList.xml" xy="0,1162">
-      <relation target="" sidePair="center-center,bottom-bottom"/>
-    </component>
     <component id="n18_r9ri" name="btnGalleryJoin" src="r9ritjg" fileName="components/Button17.xml" pkg="eg2y0ldp" xy="369,1728">
       <gearDisplay controller="c1" pages="1"/>
       <relation target="" sidePair="bottom-bottom"/>
       <Button title="确认上传" icon="ui://eg2y0ldpr9ritjd"/>
     </component>
     <image id="n19_r9ri" name="n19" src="r9riek" fileName="images/hl_ciskuang.png" xy="480,1834" group="n21_r9ri"/>
-    <text id="n20_r9ri" name="txtCount" xy="501,1831" pivot="0.5,0" size="77,42" group="n21_r9ri" fontSize="30" color="#e3d3ae" text="3/10"/>
+    <text id="n20_r9ri" name="txtCount" xy="501,1831" pivot="0.5,0" size="77,41" group="n21_r9ri" fontSize="30" color="#e3d3ae" text="3/10"/>
     <group id="n21_r9ri" name="n21" xy="480,1831" size="120,42" advanced="true">
       <gearDisplay controller="c1" pages="1"/>
+      <relation target="" sidePair="bottom-bottom"/>
     </group>
+    <component id="n5_7dea" name="ComSelectRes" src="7dea4f" fileName="components/ComItemList.xml" xy="0,1162">
+      <relation target="" sidePair="center-center,bottom-bottom"/>
+    </component>
   </displayList>
 </component>

+ 4 - 4
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DressUp/UI_PhotographUI.cs

@@ -17,9 +17,9 @@ namespace UI.DressUp
         public GButton m_btnChoose;
         public GButton m_btnUp;
         public GButton m_btnDown;
-        public UI_ComItemList m_ComSelectRes;
         public GButton m_btnGalleryJoin;
         public GTextField m_txtCount;
+        public UI_ComItemList m_ComSelectRes;
         public const string URL = "ui://mbo439wbbe944a";
         public const string PACKAGE_NAME = "DressUp";
         public const string RES_NAME = "PhotographUI";
@@ -77,9 +77,9 @@ namespace UI.DressUp
             m_btnChoose = (GButton)comp.GetChild("btnChoose");
             m_btnUp = (GButton)comp.GetChild("btnUp");
             m_btnDown = (GButton)comp.GetChild("btnDown");
-            m_ComSelectRes = (UI_ComItemList)UI_ComItemList.Create(comp.GetChild("ComSelectRes"));
             m_btnGalleryJoin = (GButton)comp.GetChild("btnGalleryJoin");
             m_txtCount = (GTextField)comp.GetChild("txtCount");
+            m_ComSelectRes = (UI_ComItemList)UI_ComItemList.Create(comp.GetChild("ComSelectRes"));
         }
         public void Dispose(bool disposeTarget = false)
         {
@@ -94,10 +94,10 @@ namespace UI.DressUp
             m_btnChoose = null;
             m_btnUp = null;
             m_btnDown = null;
-            m_ComSelectRes.Dispose();
-            m_ComSelectRes = null;
             m_btnGalleryJoin = null;
             m_txtCount = null;
+            m_ComSelectRes.Dispose();
+            m_ComSelectRes = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();

BIN
GameClient/Assets/ResIn/UI/DressUp/DressUp_fui.bytes