fix(gui): 调整角色控制器界面文本标签布局

- 激活隐藏的文本标签组件
- 调整文本标签位置、宽度和对齐方式
- 修改文本溢出处理为自动换行
- 统一两个文本标签的样式配置
This commit is contained in:
walkpan
2026-01-27 23:36:23 +08:00
parent b79d8e1950
commit 75262f9400

View File

@@ -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,