Fix: Added proper anchor use for main menu

This commit is contained in:
2026-03-01 11:55:37 +01:00
parent d406fd2e30
commit 8f1b301ece

View File

@@ -15,19 +15,29 @@ grow_vertical = 2
script = ExtResource("1_06t4h")
[node name="PlayButton" type="Button" parent="." unique_id=1831335357]
layout_mode = 0
offset_left = 448.0
offset_top = 256.0
offset_right = 768.0
offset_bottom = 314.0
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -160.0
offset_top = -29.0
offset_right = 160.0
offset_bottom = 29.0
grow_horizontal = 2
grow_vertical = 2
text = "Play"
[node name="MainMenuText" type="Label" parent="." unique_id=1324657553]
layout_mode = 0
offset_left = 320.0
offset_top = 32.0
offset_right = 904.0
offset_bottom = 151.0
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -292.0
offset_right = 292.0
offset_bottom = 119.0
grow_horizontal = 2
text = "The Main Menu"
label_settings = SubResource("LabelSettings_rhts7")
horizontal_alignment = 1