From b222a09ea4799598020045e32914889d44a53d8e Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 10 Dec 2022 21:11:59 +0100 Subject: [PATCH] Tweaked initial window size. --- game/project.pandemonium | 3 ++- game/sort/Sort.tscn | 56 ++++++++++++++++++++-------------------- 2 files changed, 30 insertions(+), 29 deletions(-) diff --git a/game/project.pandemonium b/game/project.pandemonium index 0b25e2c..072e4a0 100644 --- a/game/project.pandemonium +++ b/game/project.pandemonium @@ -20,7 +20,8 @@ config/target_folder="" [display] -window/size/height=800 +window/size/width=900 +window/size/height=1000 window/handheld/orientation="sensor" [editor_plugins] diff --git a/game/sort/Sort.tscn b/game/sort/Sort.tscn index f9abce2..15bade5 100644 --- a/game/sort/Sort.tscn +++ b/game/sort/Sort.tscn @@ -10,14 +10,14 @@ anchor_bottom = 1.0 script = ExtResource( 1 ) [node name="HBoxContainer" type="HBoxContainer" parent="."] -margin_right = 1024.0 -margin_bottom = 700.0 +margin_right = 900.0 +margin_bottom = 900.0 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="ScrollContainer" type="ScrollContainer" parent="HBoxContainer"] -margin_right = 1004.0 -margin_bottom = 700.0 +margin_right = 880.0 +margin_bottom = 900.0 size_flags_horizontal = 3 size_flags_vertical = 3 @@ -50,9 +50,9 @@ margin_top = 4.0 margin_bottom = 18.0 [node name="ZoomSlider" type="VSlider" parent="HBoxContainer"] -margin_left = 1008.0 -margin_right = 1024.0 -margin_bottom = 700.0 +margin_left = 884.0 +margin_right = 900.0 +margin_bottom = 900.0 max_value = 5.0 step = 0.0 value = 2.0 @@ -60,55 +60,55 @@ allow_greater = true tick_count = 6 [node name="Categories" type="HBoxContainer" parent="."] -margin_top = 704.0 -margin_right = 1024.0 -margin_bottom = 724.0 +margin_top = 904.0 +margin_right = 900.0 +margin_bottom = 924.0 size_flags_horizontal = 3 [node name="Categories" type="OptionButton" parent="Categories"] -margin_right = 1000.0 +margin_right = 876.0 margin_bottom = 20.0 size_flags_horizontal = 3 [node name="Add" type="Button" parent="Categories"] -margin_left = 1004.0 -margin_right = 1024.0 +margin_left = 880.0 +margin_right = 900.0 margin_bottom = 20.0 text = "+" [node name="SubCategoies" type="HBoxContainer" parent="."] -margin_top = 728.0 -margin_right = 1024.0 -margin_bottom = 748.0 +margin_top = 928.0 +margin_right = 900.0 +margin_bottom = 948.0 size_flags_horizontal = 3 [node name="SubCategoies" type="OptionButton" parent="SubCategoies"] -margin_right = 1000.0 +margin_right = 876.0 margin_bottom = 20.0 size_flags_horizontal = 3 [node name="Add" type="Button" parent="SubCategoies"] -margin_left = 1004.0 -margin_right = 1024.0 +margin_left = 880.0 +margin_right = 900.0 margin_bottom = 20.0 text = "+" [node name="Apply" type="Button" parent="."] -margin_top = 752.0 -margin_right = 1024.0 -margin_bottom = 772.0 +margin_top = 952.0 +margin_right = 900.0 +margin_bottom = 972.0 text = "Apply" [node name="Skip" type="Button" parent="."] -margin_top = 776.0 -margin_right = 1024.0 -margin_bottom = 796.0 +margin_top = 976.0 +margin_right = 900.0 +margin_bottom = 996.0 text = "Skip" [node name="Control" type="Control" parent="."] -margin_top = 800.0 -margin_right = 1024.0 -margin_bottom = 800.0 +margin_top = 1000.0 +margin_right = 900.0 +margin_bottom = 1000.0 [node name="NewCategoryPopup" type="ConfirmationDialog" parent="Control"] margin_left = 291.0