aboutsummaryrefslogtreecommitdiff
path: root/client/menu/settings_menu.tscn
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-06-29 20:30:52 +0200
committermetamuffin <metamuffin@disroot.org>2024-06-29 20:30:52 +0200
commite0c1d707dc24c79be58efa242b41c3c93c7cb77e (patch)
treeb48a9071bfa950334543f516e4850215c041d461 /client/menu/settings_menu.tscn
parentf2292af3b9442ea3db7435d3e455792d270f722a (diff)
parent7bd4c5b6d302ca2f141a97f21b8c5b62d41d3603 (diff)
downloadhurrycurry-e0c1d707dc24c79be58efa242b41c3c93c7cb77e.tar
hurrycurry-e0c1d707dc24c79be58efa242b41c3c93c7cb77e.tar.bz2
hurrycurry-e0c1d707dc24c79be58efa242b41c3c93c7cb77e.tar.zst
Merge branch 'master' of https://codeberg.org/metamuffin/undercooked
Diffstat (limited to 'client/menu/settings_menu.tscn')
-rw-r--r--client/menu/settings_menu.tscn23
1 files changed, 16 insertions, 7 deletions
diff --git a/client/menu/settings_menu.tscn b/client/menu/settings_menu.tscn
index 84da46f3..9be24d86 100644
--- a/client/menu/settings_menu.tscn
+++ b/client/menu/settings_menu.tscn
@@ -14,7 +14,7 @@ grow_vertical = 2
theme = ExtResource("1_foq3a")
script = ExtResource("2_3hgm8")
-[node name="outer_gap" type="MarginContainer" parent="."]
+[node name="OuterGap" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -22,11 +22,11 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
-[node name="panel" type="Panel" parent="outer_gap"]
+[node name="Panel" type="Panel" parent="OuterGap"]
material = ExtResource("3_8nykw")
layout_mode = 2
-[node name="inner_gap" type="MarginContainer" parent="outer_gap/panel"]
+[node name="InnerGap" type="MarginContainer" parent="OuterGap/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -38,18 +38,27 @@ theme_override_constants/margin_top = 40
theme_override_constants/margin_right = 40
theme_override_constants/margin_bottom = 40
-[node name="options" type="VBoxContainer" parent="outer_gap/panel/inner_gap"]
+[node name="VBoxContainer" type="VBoxContainer" parent="OuterGap/Panel/InnerGap"]
layout_mode = 2
-[node name="title" type="Label" parent="outer_gap/panel/inner_gap/options"]
+[node name="Title" type="Label" parent="OuterGap/Panel/InnerGap/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
theme_override_font_sizes/font_size = 36
text = "Settings"
-[node name="back" type="Button" parent="outer_gap/panel/inner_gap"]
+[node name="ScrollContainer" type="ScrollContainer" parent="OuterGap/Panel/InnerGap/VBoxContainer"]
+layout_mode = 2
+size_flags_vertical = 3
+
+[node name="Options" type="VBoxContainer" parent="OuterGap/Panel/InnerGap/VBoxContainer/ScrollContainer"]
+layout_mode = 2
+size_flags_horizontal = 3
+size_flags_vertical = 3
+
+[node name="Back" type="Button" parent="OuterGap/Panel/InnerGap/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 8
text = "Back to Main Menu"
-[connection signal="pressed" from="outer_gap/panel/inner_gap/back" to="." method="_on_back_pressed"]
+[connection signal="pressed" from="OuterGap/Panel/InnerGap/VBoxContainer/Back" to="." method="_on_back_pressed"]