style(ui): 调整UI边框与元素缩放尺寸
修改了ui3.plist.meta的边框配置,将ibox和herobox的UI元素尺寸、缩放比例进行了适配调整,统一优化界面布局显示效果
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -139,8 +139,8 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"x": 2,
|
||||
"y": 2,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
@@ -306,8 +306,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
"width": 99.95,
|
||||
"height": 135
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -326,8 +326,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 383.8,
|
||||
"height": 524
|
||||
"width": 183.9,
|
||||
"height": 254
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -346,8 +346,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"height": 532
|
||||
"width": 191.9,
|
||||
"height": 262
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -366,8 +366,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 399.8,
|
||||
"height": 540
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -386,8 +386,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -91.7,
|
||||
"y": 128.75,
|
||||
"x": -41.725,
|
||||
"y": 61.25,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -407,7 +407,7 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"width": 191.9,
|
||||
"height": 44
|
||||
}
|
||||
},
|
||||
@@ -721,8 +721,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
"width": 99.95,
|
||||
"height": 135
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -741,8 +741,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 383.8,
|
||||
"height": 524
|
||||
"width": 183.9,
|
||||
"height": 254
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -761,8 +761,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"height": 532
|
||||
"width": 191.9,
|
||||
"height": 262
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -781,8 +781,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 399.8,
|
||||
"height": 540
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -801,8 +801,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -91.7,
|
||||
"y": 128.75,
|
||||
"x": -41.725,
|
||||
"y": 61.25,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -816,7 +816,7 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"width": 191.9,
|
||||
"height": 44
|
||||
}
|
||||
},
|
||||
@@ -1130,8 +1130,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
"width": 99.95,
|
||||
"height": 135
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1150,8 +1150,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 383.8,
|
||||
"height": 524
|
||||
"width": 183.9,
|
||||
"height": 254
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1170,8 +1170,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"height": 532
|
||||
"width": 191.9,
|
||||
"height": 262
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1190,8 +1190,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 399.8,
|
||||
"height": 540
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1210,8 +1210,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -91.7,
|
||||
"y": 128.75,
|
||||
"x": -41.725,
|
||||
"y": 61.25,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -1225,7 +1225,7 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"width": 191.9,
|
||||
"height": 44
|
||||
}
|
||||
},
|
||||
@@ -1539,8 +1539,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
"width": 99.95,
|
||||
"height": 135
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1559,8 +1559,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 383.8,
|
||||
"height": 524
|
||||
"width": 183.9,
|
||||
"height": 254
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1579,8 +1579,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"height": 532
|
||||
"width": 191.9,
|
||||
"height": 262
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1599,8 +1599,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 399.8,
|
||||
"height": 540
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1619,8 +1619,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -91.7,
|
||||
"y": 128.75,
|
||||
"x": -41.725,
|
||||
"y": 61.25,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -1634,7 +1634,7 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"width": 191.9,
|
||||
"height": 44
|
||||
}
|
||||
},
|
||||
@@ -1948,8 +1948,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
"width": 99.95,
|
||||
"height": 135
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1968,8 +1968,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 383.8,
|
||||
"height": 524
|
||||
"width": 183.9,
|
||||
"height": 254
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1988,8 +1988,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"height": 532
|
||||
"width": 191.9,
|
||||
"height": 262
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2008,8 +2008,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 399.8,
|
||||
"height": 540
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2028,8 +2028,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -91.7,
|
||||
"y": 128.75,
|
||||
"x": -41.725,
|
||||
"y": 61.25,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -2043,7 +2043,7 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"width": 191.9,
|
||||
"height": 44
|
||||
}
|
||||
},
|
||||
@@ -2357,8 +2357,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
"width": 99.95,
|
||||
"height": 135
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2377,8 +2377,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 383.8,
|
||||
"height": 524
|
||||
"width": 183.9,
|
||||
"height": 254
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2397,8 +2397,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"height": 532
|
||||
"width": 191.9,
|
||||
"height": 262
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2417,8 +2417,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 399.8,
|
||||
"height": 540
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -2437,8 +2437,8 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -91.7,
|
||||
"y": 128.75,
|
||||
"x": -41.725,
|
||||
"y": 61.25,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -2452,7 +2452,7 @@
|
||||
],
|
||||
"value": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 391.8,
|
||||
"width": 191.9,
|
||||
"height": 44
|
||||
}
|
||||
},
|
||||
@@ -2476,8 +2476,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 199.9,
|
||||
"height": 270
|
||||
"width": 99.95,
|
||||
"height": 135
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
||||
@@ -23,25 +23,28 @@
|
||||
},
|
||||
{
|
||||
"__id__": 38
|
||||
},
|
||||
{
|
||||
"__id__": 46
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 44
|
||||
"__id__": 52
|
||||
},
|
||||
{
|
||||
"__id__": 46
|
||||
"__id__": 54
|
||||
},
|
||||
{
|
||||
"__id__": 48
|
||||
"__id__": 56
|
||||
},
|
||||
{
|
||||
"__id__": 50
|
||||
"__id__": 58
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 52
|
||||
"__id__": 60
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
@@ -88,7 +91,7 @@
|
||||
"__id__": 19
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 31
|
||||
@@ -759,7 +762,7 @@
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "RichText",
|
||||
"_name": "Toggle_Check_01_Off",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
@@ -773,14 +776,17 @@
|
||||
},
|
||||
{
|
||||
"__id__": 41
|
||||
},
|
||||
{
|
||||
"__id__": 43
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 43
|
||||
"__id__": 45
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"x": 2.5,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
@@ -819,6 +825,178 @@
|
||||
"__prefab": {
|
||||
"__id__": 40
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 715,
|
||||
"height": 120
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0.5,
|
||||
"y": 0.5
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "b8MCmHMq5A1q3NRlL90DLh"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Sprite",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 38
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 42
|
||||
},
|
||||
"_customMaterial": null,
|
||||
"_srcBlendFactor": 2,
|
||||
"_dstBlendFactor": 4,
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 54,
|
||||
"g": 151,
|
||||
"b": 255,
|
||||
"a": 156
|
||||
},
|
||||
"_spriteFrame": {
|
||||
"__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@f5d5c",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 1,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillCenter": {
|
||||
"__type__": "cc.Vec2",
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"_fillStart": 0,
|
||||
"_fillRange": 0,
|
||||
"_isTrimmedMode": true,
|
||||
"_useGrayscale": false,
|
||||
"_atlas": null,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "4311l14b1DvJVpJKdqMvF3"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Widget",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 38
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 44
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
"_left": 5,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 0,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
"_isAbsRight": true,
|
||||
"_isAbsTop": true,
|
||||
"_isAbsBottom": true,
|
||||
"_isAbsHorizontalCenter": true,
|
||||
"_isAbsVerticalCenter": true,
|
||||
"_originalWidth": 40,
|
||||
"_originalHeight": 40,
|
||||
"_alignMode": 2,
|
||||
"_lockFlags": 0,
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.CompPrefabInfo",
|
||||
"fileId": "0dQJIxbaBKwofpTM9AD0z1"
|
||||
},
|
||||
{
|
||||
"__type__": "cc.PrefabInfo",
|
||||
"root": {
|
||||
"__id__": 1
|
||||
},
|
||||
"asset": {
|
||||
"__id__": 0
|
||||
},
|
||||
"fileId": "cf0Pbjyg1HU74pnxq7zQ2O",
|
||||
"instance": null,
|
||||
"targetOverrides": null,
|
||||
"nestedPrefabInstanceRoots": null
|
||||
},
|
||||
{
|
||||
"__type__": "cc.Node",
|
||||
"_name": "RichText",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"_parent": {
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 47
|
||||
},
|
||||
{
|
||||
"__id__": 49
|
||||
}
|
||||
],
|
||||
"_prefab": {
|
||||
"__id__": 51
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
"__type__": "cc.Quat",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0,
|
||||
"w": 1
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
"_layer": 1073741824,
|
||||
"_euler": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
{
|
||||
"__type__": "cc.UITransform",
|
||||
"_name": "",
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 46
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 48
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 680,
|
||||
@@ -841,11 +1019,11 @@
|
||||
"_objFlags": 0,
|
||||
"__editorExtras__": {},
|
||||
"node": {
|
||||
"__id__": 38
|
||||
"__id__": 46
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 42
|
||||
"__id__": 50
|
||||
},
|
||||
"_lineHeight": 21,
|
||||
"_string": "ewrwerwer",
|
||||
@@ -854,9 +1032,9 @@
|
||||
"_fontSize": 20,
|
||||
"_fontColor": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 48,
|
||||
"g": 48,
|
||||
"b": 48,
|
||||
"r": 255,
|
||||
"g": 255,
|
||||
"b": 255,
|
||||
"a": 255
|
||||
},
|
||||
"_maxWidth": 680,
|
||||
@@ -896,7 +1074,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 45
|
||||
"__id__": 53
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
@@ -924,7 +1102,7 @@
|
||||
},
|
||||
"_enabled": false,
|
||||
"__prefab": {
|
||||
"__id__": 47
|
||||
"__id__": 55
|
||||
},
|
||||
"_alignFlags": 45,
|
||||
"_target": null,
|
||||
@@ -960,10 +1138,10 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 49
|
||||
"__id__": 57
|
||||
},
|
||||
"massage_node": {
|
||||
"__id__": 41
|
||||
"__id__": 49
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
@@ -981,7 +1159,7 @@
|
||||
},
|
||||
"_enabled": true,
|
||||
"__prefab": {
|
||||
"__id__": 51
|
||||
"__id__": 59
|
||||
},
|
||||
"_id": ""
|
||||
},
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -7384,10 +7384,10 @@
|
||||
"height": 40,
|
||||
"rawWidth": 40,
|
||||
"rawHeight": 40,
|
||||
"borderTop": 0,
|
||||
"borderBottom": 0,
|
||||
"borderLeft": 0,
|
||||
"borderRight": 0,
|
||||
"borderTop": 20,
|
||||
"borderBottom": 20,
|
||||
"borderLeft": 20,
|
||||
"borderRight": 20,
|
||||
"packable": true,
|
||||
"pixelsToUnit": 100,
|
||||
"pivotX": 0.5,
|
||||
|
||||
Reference in New Issue
Block a user