future 11 kuukautta sitten
vanhempi
sitoutus
6162ed0364
2 muutettua tiedostoa jossa 17 lisäystä ja 12 poistoa
  1. 12 12
      assets/resources/prefab/dialog_view.prefab
  2. 5 0
      assets/script/edit/widget_item.ts

+ 12 - 12
assets/resources/prefab/dialog_view.prefab

@@ -140,7 +140,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1920,
-      "height": 1083.680981595092
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -355,8 +355,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": -199.425,
-      "y": -67.821,
+      "x": -200,
+      "y": -130,
       "z": 0
     },
     "_lrot": {
@@ -704,8 +704,8 @@
     },
     "_lpos": {
       "__type__": "cc.Vec3",
-      "x": 156.634,
-      "y": -67.821,
+      "x": 200,
+      "y": -130,
       "z": 0
     },
     "_lrot": {
@@ -1047,7 +1047,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 93.657,
+      "y": 61.657,
       "z": 0
     },
     "_lrot": {
@@ -1087,8 +1087,8 @@
     },
     "_contentSize": {
       "__type__": "cc.Size",
-      "width": 200,
-      "height": 50.4
+      "width": 700,
+      "height": 220
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -1126,11 +1126,11 @@
     "_string": "确定删除?",
     "_horizontalAlign": 1,
     "_verticalAlign": 1,
-    "_actualFontSize": 40,
+    "_actualFontSize": 41,
     "_fontSize": 40,
     "_fontFamily": "Arial",
-    "_lineHeight": 40,
-    "_overflow": 0,
+    "_lineHeight": 45,
+    "_overflow": 2,
     "_enableWrapText": true,
     "_font": null,
     "_isSystemFontUsed": true,
@@ -1260,7 +1260,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1920,
-      "height": 1083.680981595092
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 5 - 0
assets/script/edit/widget_item.ts

@@ -60,6 +60,11 @@ export class widget_item extends Component {
                 let name = `第${this.m_data.scene_page_number}页-${this.lab_name.getComponent(Label).string}`
                 this.lab_name.getComponent(Label).string = name
             }
+        } else {
+            if(this.m_data.type!=config.Widget_Type_List.CONTAINER_LAYER && this.m_data.is_container_layer) {
+                let name = `容器层-${this.lab_name.getComponent(Label).string}`
+                this.lab_name.getComponent(Label).string = name
+            }
         }
     }