From 84c614e4f3ae81bbb5433b569d461109e50cb438 Mon Sep 17 00:00:00 2001 From: walkpan Date: Tue, 6 Jan 2026 19:50:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(gui):=20=E8=B0=83=E6=95=B4=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E6=8E=A7=E5=88=B6=E5=99=A8prefab=E7=9A=84=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=92=8C=E6=BF=80=E6=B4=BB=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改_active状态以正确显示/隐藏组件 - 调整_contentSize高度和边距以优化布局 - 更新_bottom和_top值以改善元素定位 --- assets/resources/gui/role_controller.prefab | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 2433095a..166a3f7b 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -10217,7 +10217,7 @@ "__id__": 554 } ], - "_active": false, + "_active": true, "_components": [ { "__id__": 569 @@ -10329,7 +10329,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 680, - "height": 300 + "height": 30 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -10406,8 +10406,8 @@ "_target": null, "_left": 0, "_right": 0, - "_top": 0, - "_bottom": 0, + "_top": 385, + "_bottom": 385, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -12136,7 +12136,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 680, - "height": 300 + "height": 800 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -12166,7 +12166,7 @@ "_left": 0, "_right": 0, "_top": 0, - "_bottom": 383.025, + "_bottom": 133.02499999999998, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -12235,7 +12235,7 @@ "__id__": 601 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 607