refactor(gui): 调整UI元素尺寸和位置以优化布局

调整多个UI元素的尺寸、位置和缩放比例,包括图标、卡片和控制器组件,以改善整体布局和用户体验。删除无用的meta文件。
This commit is contained in:
panw
2026-01-15 14:54:33 +08:00
parent 5b8ab90c6f
commit 57ea9a1587
4 changed files with 420 additions and 184 deletions

View File

@@ -717,7 +717,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -467.5,
"y": -517.5,
"z": 0
},
"_lrot": {
@@ -758,7 +758,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 710,
"height": 330
"height": 230
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -5326,7 +5326,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -363.96399999999994,
"y": -342.5,
"z": 0
},
"_lrot": {
@@ -5431,7 +5431,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": -280,
"x": -295,
"y": 0,
"z": 0
}
@@ -5580,7 +5580,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": -170,
"x": -178,
"y": 0,
"z": 0
}
@@ -5711,7 +5711,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": -60,
"x": -61,
"y": 0,
"z": 0
}
@@ -5839,7 +5839,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 50,
"x": 56,
"y": 0,
"z": 0
}
@@ -5951,7 +5951,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 160,
"x": 173,
"y": 0,
"z": 0
}
@@ -6063,7 +6063,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 270,
"x": 290,
"y": 0,
"z": 0
}
@@ -6113,7 +6113,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 680,
"width": 700,
"height": 100
},
"_anchorPoint": {
@@ -6141,10 +6141,10 @@
},
"_alignFlags": 44,
"_target": null,
"_left": 20,
"_right": 20,
"_left": 10,
"_right": 10,
"_top": 140,
"_bottom": 223.53600000000003,
"_bottom": 245,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -6183,11 +6183,11 @@
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 10,
"_paddingLeft": 0,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
"_spacingX": 10,
"_spacingX": 7,
"_spacingY": 0,
"_verticalDirection": 1,
"_horizontalDirection": 0,
@@ -7375,7 +7375,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -167.5,
"y": -152.5,
"z": 0
},
"_lrot": {
@@ -7498,7 +7498,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": -255,
"x": -262.5,
"y": 0,
"z": 0
}
@@ -7739,7 +7739,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": -85,
"x": -87.5,
"y": 0,
"z": 0
}
@@ -7948,7 +7948,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 85,
"x": 87.5,
"y": 0,
"z": 0
}
@@ -8154,7 +8154,7 @@
],
"value": {
"__type__": "cc.Vec3",
"x": 255,
"x": 262.5,
"y": 0,
"z": 0
}
@@ -8270,7 +8270,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 680,
"width": 710,
"height": 300
},
"_anchorPoint": {
@@ -8298,10 +8298,10 @@
},
"_alignFlags": 44,
"_target": null,
"_left": 20,
"_right": 20,
"_left": 5,
"_right": 5,
"_top": 0,
"_bottom": 320,
"_bottom": 335,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -8340,7 +8340,7 @@
"height": 40
},
"_startAxis": 0,
"_paddingLeft": 5,
"_paddingLeft": 10,
"_paddingRight": 0,
"_paddingTop": 0,
"_paddingBottom": 0,
@@ -8939,7 +8939,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 255,
"x": 260,
"y": 0,
"z": 0
},
@@ -9005,8 +9005,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -87.5,
"x": 2.5,
"y": -152.5,
"z": 0
},
"_lrot": {
@@ -9058,7 +9058,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -255,
"x": -265,
"y": 0,
"z": 0
},
@@ -9099,7 +9099,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"width": 165,
"height": 240
},
"_anchorPoint": {
@@ -9128,7 +9128,7 @@
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 515,
"_right": 535,
"_top": 0,
"_bottom": 30,
"_horizontalCenter": 0,
@@ -9206,7 +9206,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -85,
"x": -90,
"y": 0,
"z": 0
},
@@ -9247,7 +9247,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"width": 165,
"height": 240
},
"_anchorPoint": {
@@ -9276,7 +9276,7 @@
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 345,
"_right": 360,
"_top": 0,
"_bottom": 30,
"_horizontalCenter": 0,
@@ -9395,7 +9395,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"width": 165,
"height": 240
},
"_anchorPoint": {
@@ -9424,7 +9424,7 @@
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 175,
"_right": 185,
"_top": 0,
"_bottom": 30,
"_horizontalCenter": 0,
@@ -9490,7 +9490,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 680,
"width": 705,
"height": 300
},
"_anchorPoint": {
@@ -9518,10 +9518,10 @@
},
"_alignFlags": 44,
"_target": null,
"_left": 20,
"_right": 20,
"_left": 10,
"_right": 5,
"_top": 0,
"_bottom": 400,
"_bottom": 335,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,
@@ -10400,7 +10400,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 160,
"width": 165,
"height": 240
},
"_anchorPoint": {
@@ -10429,7 +10429,7 @@
"_alignFlags": 36,
"_target": null,
"_left": 0,
"_right": 5,
"_right": 10,
"_top": 0,
"_bottom": 30,
"_horizontalCenter": 0,
@@ -12686,7 +12686,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 276.521,
"y": 94.274,
"y": 43.851999999999975,
"z": 0
},
"_lrot": {
@@ -12790,7 +12790,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 22.74,
"y": 3.431,
"y": 2,
"z": 0
},
"_lrot": {
@@ -12830,8 +12830,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 29,
"height": 32
"width": 15,
"height": 16
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -12872,7 +12872,7 @@
},
"_type": 1,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -12916,8 +12916,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 60
"width": 100,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -13066,7 +13066,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": -15.927,
"y": 3.431,
"y": 2,
"z": 0
},
"_lrot": {
@@ -13106,8 +13106,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 29,
"height": 32
"width": 15,
"height": 16
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -13192,8 +13192,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 120,
"height": 60
"width": 100,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -13287,8 +13287,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -127.91,
"y": 0,
"x": -100.064,
"y": 3.342,
"z": 0
},
"_lrot": {
@@ -13328,7 +13328,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 133.990234375,
"width": 90.66015625,
"height": 54.4
},
"_anchorPoint": {
@@ -13367,8 +13367,8 @@
"_string": "战斗不停:",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 0,
@@ -13538,7 +13538,7 @@
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 701.774,
"_bottom": 651.352,
"_horizontalCenter": 0,
"_verticalCenter": 0,
"_isAbsLeft": true,