From 9483a8c1ec15e14da2978c319bd0b0c03d613ab8 Mon Sep 17 00:00:00 2001 From: panFD Date: Sun, 30 Aug 2026 23:46:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(gui):=20=E8=B0=83=E6=95=B4=E5=A4=9A?= =?UTF-8?q?=E4=B8=AAUI=E9=A2=84=E5=88=B6=E4=BB=B6=E7=9A=84=E5=B8=83?= =?UTF-8?q?=E5=B1=80=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 修正hero.prefab中多个节点的y轴位置与布局边界值 2. 调整sibox.prefab的节点位置、内容尺寸与字体大小 3. 移除sibox.prefab中冗余的bg_node引用 --- assets/resources/gui/element/heros.prefab | 10 +++++----- assets/resources/gui/element/sibox.prefab | 13 +++++-------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/assets/resources/gui/element/heros.prefab b/assets/resources/gui/element/heros.prefab index 31173f36..52b19a5b 100644 --- a/assets/resources/gui/element/heros.prefab +++ b/assets/resources/gui/element/heros.prefab @@ -1394,7 +1394,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -2.252, + "y": 74.047, "z": 0 }, "_lrot": { @@ -2226,7 +2226,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -132.818, + "y": -108.162, "z": 0 }, "_lrot": { @@ -10985,7 +10985,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -218.836, + "y": -199.317, "z": 0 }, "_lrot": { @@ -11489,8 +11489,8 @@ "_target": null, "_left": 30, "_right": 30, - "_top": 553.836, - "_bottom": 116.16400000000002, + "_top": 534.317, + "_bottom": 135.68299999999996, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, diff --git a/assets/resources/gui/element/sibox.prefab b/assets/resources/gui/element/sibox.prefab index 2c5f52fd..7814cb7b 100644 --- a/assets/resources/gui/element/sibox.prefab +++ b/assets/resources/gui/element/sibox.prefab @@ -2865,8 +2865,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 32.887, - "y": -29.289, + "x": 0, + "y": -39.737, "z": 0 }, "_lrot": { @@ -2906,7 +2906,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 20.628952026367188, + "width": 15.123046875, "height": 54.4 }, "_anchorPoint": { @@ -2945,8 +2945,8 @@ "_string": "1", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 29.9, - "_fontSize": 29.9, + "_actualFontSize": 20, + "_fontSize": 20, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 0, @@ -3380,9 +3380,6 @@ "icon_node": { "__id__": 105 }, - "bg_node": { - "__id__": 2 - }, "lv_label": { "__id__": 124 },