Fix: Added proper anchor use for main menu
This commit is contained in:
@@ -15,19 +15,29 @@ grow_vertical = 2
|
|||||||
script = ExtResource("1_06t4h")
|
script = ExtResource("1_06t4h")
|
||||||
|
|
||||||
[node name="PlayButton" type="Button" parent="." unique_id=1831335357]
|
[node name="PlayButton" type="Button" parent="." unique_id=1831335357]
|
||||||
layout_mode = 0
|
layout_mode = 1
|
||||||
offset_left = 448.0
|
anchors_preset = 8
|
||||||
offset_top = 256.0
|
anchor_left = 0.5
|
||||||
offset_right = 768.0
|
anchor_top = 0.5
|
||||||
offset_bottom = 314.0
|
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"
|
text = "Play"
|
||||||
|
|
||||||
[node name="MainMenuText" type="Label" parent="." unique_id=1324657553]
|
[node name="MainMenuText" type="Label" parent="." unique_id=1324657553]
|
||||||
layout_mode = 0
|
layout_mode = 1
|
||||||
offset_left = 320.0
|
anchors_preset = 5
|
||||||
offset_top = 32.0
|
anchor_left = 0.5
|
||||||
offset_right = 904.0
|
anchor_right = 0.5
|
||||||
offset_bottom = 151.0
|
offset_left = -292.0
|
||||||
|
offset_right = 292.0
|
||||||
|
offset_bottom = 119.0
|
||||||
|
grow_horizontal = 2
|
||||||
text = "The Main Menu"
|
text = "The Main Menu"
|
||||||
label_settings = SubResource("LabelSettings_rhts7")
|
label_settings = SubResource("LabelSettings_rhts7")
|
||||||
horizontal_alignment = 1
|
horizontal_alignment = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user