修复(mskillbox): 调整MSkillBox预制体布局参数修正UI错位

本次提交修改了MSkillBox预制体中多个UI元素的位置、对齐方式、内容尺寸和锚点等布局属性,解决原有布局错位的显示问题。
This commit is contained in:
pan
2026-06-12 14:42:54 +08:00
parent 963c89a976
commit 8c056f2e74
2 changed files with 1871 additions and 1809 deletions

View File

@@ -293,7 +293,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 4.377999999999986,
"y": 0,
"z": 0
},
"_lrot": {
@@ -347,7 +347,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -0.025,
"y": 0,
"z": 0
},
"_lrot": {
@@ -400,7 +400,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -111.83499999999998,
"y": 0,
"z": 0
},
"_lrot": {
@@ -518,8 +518,8 @@
"_target": null,
"_left": 0,
"_right": 0,
"_top": 61.83499999999992,
"_bottom": -161.83499999999998,
"_top": -50.00000000000004,
"_bottom": -50,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -598,7 +598,7 @@
"_top": 590,
"_bottom": 300,
"_horizontalCenter": 0,
"_verticalCenter": -61.11,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -776,14 +776,14 @@
"__prefab": {
"__id__": 31
},
"_alignFlags": 8,
"_alignFlags": 9,
"_target": null,
"_left": 20.000000000000284,
"_left": 20,
"_right": 0,
"_top": 0,
"_top": 58.063,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": 143.665,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -3075,7 +3075,7 @@
"value": {
"__type__": "cc.Vec3",
"x": -235,
"y": 27.025,
"y": 131.937,
"z": 0
}
},
@@ -3652,14 +3652,14 @@
"__prefab": {
"__id__": 183
},
"_alignFlags": 16,
"_alignFlags": 17,
"_target": null,
"_left": 20,
"_right": 0,
"_top": 0,
"_top": 58.063,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": 143.665,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -5951,7 +5951,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 0,
"y": 27.025,
"y": 131.937,
"z": 0
}
},
@@ -6528,14 +6528,14 @@
"__prefab": {
"__id__": 335
},
"_alignFlags": 32,
"_alignFlags": 33,
"_target": null,
"_left": 20,
"_right": 20.000000000000284,
"_top": 0,
"_right": 20,
"_top": 58.063,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_verticalCenter": 143.665,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -8827,7 +8827,7 @@
"value": {
"__type__": "cc.Vec3",
"x": 235,
"y": 27.025,
"y": 131.937,
"z": 0
}
},
@@ -9290,7 +9290,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -349.073,
"y": -237.659,
"z": 0
},
"_lrot": {
@@ -10306,12 +10306,12 @@
"__prefab": {
"__id__": 523
},
"_alignFlags": 2,
"_alignFlags": 4,
"_target": null,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 183.25900000000001,
"_bottom": -49.07299999999998,
"_horizontalCenter": 0,
"_verticalCenter": -387.69,
"_isAbsLeft": true,
@@ -10357,13 +10357,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720.0000000000006,
"height": 330
"width": 720,
"height": 700
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
"y": 0.5
},
"_id": ""
},
@@ -10390,7 +10390,7 @@
"_top": 600,
"_bottom": 0,
"_horizontalCenter": 0,
"_verticalCenter": 169.378,
"_verticalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
@@ -10490,7 +10490,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 720.0000000000006,
"width": 720,
"height": 1280
},
"_anchorPoint": {
@@ -10518,8 +10518,8 @@
},
"_alignFlags": 45,
"_target": null,
"_left": -3.6514001698782925e-16,
"_right": -2.8421709430404007e-13,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_horizontalCenter": 0,