summaryrefslogtreecommitdiffstats
path: root/level_main_menu.tscn
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-11-14 15:11:12 +0200
committerJan Tuomi <jan@jantuomi.fi>2025-11-14 15:11:38 +0200
commit90a9c362734fb59dc0c17ef040fac6be0369398a (patch)
tree030cef9283d8cfcb293432a62d6877452e4783ab /level_main_menu.tscn
parent0495b64b8c7e266d150aa4adf391b1a4d8da15c2 (diff)
Make menu controls smaller
Diffstat (limited to 'level_main_menu.tscn')
-rw-r--r--level_main_menu.tscn25
1 files changed, 17 insertions, 8 deletions
diff --git a/level_main_menu.tscn b/level_main_menu.tscn
index 1cefb23..67de822 100644
--- a/level_main_menu.tscn
+++ b/level_main_menu.tscn
@@ -9,15 +9,24 @@ script = ExtResource("1_rbk04")
position = Vector2(96, 54)
[node name="TestLevelButton" type="Button" parent="."]
-offset_left = 55.0
-offset_top = 47.0
-offset_right = 136.0
-offset_bottom = 78.0
+anchors_preset = 8
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+offset_left = 76.0
+offset_top = 51.0
+offset_right = 157.0
+offset_bottom = 82.0
+grow_horizontal = 2
+grow_vertical = 2
+scale = Vector2(0.5, 0.5)
text = "Test level"
[node name="Label" type="Label" parent="."]
-offset_left = 53.0
-offset_top = 15.0
-offset_right = 141.0
-offset_bottom = 38.0
+offset_top = 24.0
+offset_right = 384.0
+offset_bottom = 47.0
+scale = Vector2(0.5, 0.5)
text = "Main menu"
+horizontal_alignment = 1