From 75262f9400291692b837c7ec86d1213349bdf550 Mon Sep 17 00:00:00 2001 From: walkpan Date: Tue, 27 Jan 2026 23:36:23 +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=A8=E7=95=8C=E9=9D=A2=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=A0=87=E7=AD=BE=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 激活隐藏的文本标签组件 - 调整文本标签位置、宽度和对齐方式 - 修改文本溢出处理为自动换行 - 统一两个文本标签的样式配置 --- assets/resources/gui/role_controller.prefab | 30 ++++++++++----------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 5cbc115b..682e1e9c 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -17370,7 +17370,7 @@ "__id__": 1421 } ], - "_active": false, + "_active": true, "_components": [ { "__id__": 1690 @@ -28208,8 +28208,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -224.099, - "y": 32.23, + "x": -253.702, + "y": 39.884, "z": 0 }, "_lrot": { @@ -28249,12 +28249,12 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 60, + "width": 200, "height": 35.5 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_id": "" @@ -28286,13 +28286,13 @@ "a": 255 }, "_string": "名称", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 28, + "_actualFontSize": 29, "_fontSize": 28, "_fontFamily": "Arial", "_lineHeight": 25, - "_overflow": 0, + "_overflow": 2, "_enableWrapText": true, "_font": null, "_isSystemFontUsed": true, @@ -28813,8 +28813,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -224.099, - "y": 32.23, + "x": -253.702, + "y": 39.884, "z": 0 }, "_lrot": { @@ -28854,12 +28854,12 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 60, + "width": 200, "height": 35.5 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, + "x": 0, "y": 0.5 }, "_id": "" @@ -28891,13 +28891,13 @@ "a": 255 }, "_string": "名称", - "_horizontalAlign": 1, + "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 28, + "_actualFontSize": 29, "_fontSize": 28, "_fontFamily": "Arial", "_lineHeight": 25, - "_overflow": 0, + "_overflow": 2, "_enableWrapText": true, "_font": null, "_isSystemFontUsed": true,