a game about throwing hammers made for the github game off
Diffstat (limited to 'ui/graphics.tscn')
| -rw-r--r-- | ui/graphics.tscn | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/ui/graphics.tscn b/ui/graphics.tscn index 3aa7a46..4e9d901 100644 --- a/ui/graphics.tscn +++ b/ui/graphics.tscn @@ -22,7 +22,6 @@ script = ExtResource("2_s8nd1") focus = NodePath("Panel2/V/h/vsyncbutton") [node name="Panel" type="Panel" parent="."] -layout_mode = 2 offset_left = 10.0 offset_top = 10.0 offset_right = 310.0 @@ -31,7 +30,6 @@ theme_override_styles/panel = ExtResource("2_g8edo") [node name="Panel2" type="PanelContainer" parent="."] clip_contents = true -layout_mode = 2 offset_left = 10.0 offset_top = 10.0 offset_right = 310.0 @@ -40,7 +38,6 @@ theme_override_styles/panel = ExtResource("3_pgqel") [node name="V" type="VBoxContainer" parent="Panel2"] show_behind_parent = true -layout_mode = 2 offset_left = 15.0 offset_top = 15.0 offset_right = 285.0 @@ -49,15 +46,13 @@ size_flags_horizontal = 3 size_flags_vertical = 3 [node name="h" type="HBoxContainer" parent="Panel2/V"] -layout_mode = 2 offset_right = 270.0 offset_bottom = 43.0 theme_override_constants/separation = 50 alignment = 2 -[node name="vsyncbutton" type="CheckBox" parent="Panel2/V/h"] +[node name="vsyncbutton" type="CheckBox" parent="Panel2/V/h" groups=["button"]] unique_name_in_owner = true -layout_mode = 2 offset_left = 77.0 offset_right = 188.0 offset_bottom = 43.0 @@ -68,8 +63,7 @@ focus_neighbor_right = NodePath("../exit") focus_neighbor_bottom = NodePath("../../windowbutton/button") text = "vsync" -[node name="exit" parent="Panel2/V/h" instance=ExtResource("5_082rc")] -layout_mode = 2 +[node name="exit" parent="Panel2/V/h" groups=["button"] instance=ExtResource("5_082rc")] offset_left = 238.0 offset_right = 270.0 offset_bottom = 43.0 @@ -80,7 +74,6 @@ focus_neighbor_bottom = NodePath("../../windowbutton/button") [node name="windowbutton" parent="Panel2/V" instance=ExtResource("5_kv1ys")] unique_name_in_owner = true -layout_mode = 2 offset_left = 50.0 offset_top = 47.0 offset_right = 220.0 @@ -89,18 +82,15 @@ size_flags_horizontal = 4 options = PackedStringArray("fullscreen", "borderless fs", "windowed") current_option = 2 -[node name="leftcaret" parent="Panel2/V/windowbutton" index="0"] -layout_mode = 2 +[node name="leftcaret" parent="Panel2/V/windowbutton" index="0" groups=["button"]] focus_neighbor_top = NodePath("../../h/vsyncbutton") focus_neighbor_bottom = NodePath("../../h/vsyncbutton") -[node name="button" parent="Panel2/V/windowbutton" index="1"] -layout_mode = 2 +[node name="button" parent="Panel2/V/windowbutton" index="1" groups=["button"]] focus_neighbor_top = NodePath("../../h/vsyncbutton") focus_neighbor_bottom = NodePath("../../h/vsyncbutton") -[node name="rightcaret" parent="Panel2/V/windowbutton" index="2"] -layout_mode = 2 +[node name="rightcaret" parent="Panel2/V/windowbutton" index="2" groups=["button"]] focus_neighbor_top = NodePath("../../h/vsyncbutton") focus_neighbor_bottom = NodePath("../../h/vsyncbutton") |