文本对齐

This commit is contained in:
2025-06-17 19:02:55 +08:00
parent 28f2b4c5cc
commit 166b4a85ae

View File

@@ -151,14 +151,26 @@
"lineWidth": 1,
"fillColor": "rgba(29, 92, 220, 1)"
}
],
]
},
{
"_$id": "phyezjdt",
"_$type": "HBox",
"name": "HBox",
"x": 100,
"y": 48,
"width": 544,
"height": 60,
"centerX": 0,
"centerY": 0,
"space": 16,
"align": "middle",
"_$child": [
{
"_$id": "23po992p",
"_$type": "Sprite",
"name": "Sprite",
"x": 100,
"y": 44,
"y": 3,
"width": 60,
"height": 54,
"mouseThrough": true,
@@ -202,25 +214,23 @@
]
}
]
},
{
"_$id": "4fv9wmfi",
"_$type": "Label",
"name": "Label",
"x": 76,
"width": 468,
"height": 60,
"text": "Second Chance",
"font": "res://5f760925-14a8-4e61-b8c4-d19c523e7376",
"fontSize": 60,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle"
}
]
},
{
"_$id": "4fv9wmfi",
"_$type": "Label",
"name": "Label",
"x": 49,
"width": 744,
"height": 156,
"centerX": 49,
"centerY": 0,
"text": "Second Chance",
"font": "res://5f760925-14a8-4e61-b8c4-d19c523e7376",
"fontSize": 60,
"color": "rgba(255, 255, 255, 1)",
"bold": true,
"align": "center",
"valign": "middle"
}
]
},