From 7a582c4e70a85e46ab77bf1a7452e5da09e69506 Mon Sep 17 00:00:00 2001 From: Relintai Date: Wed, 25 Mar 2020 01:02:02 +0100 Subject: [PATCH] Tweak the touch control sizes a bit more. --- game/ui/player_ui/player_ui.tscn | 49 ++++++++++++++------------------ 1 file changed, 22 insertions(+), 27 deletions(-) diff --git a/game/ui/player_ui/player_ui.tscn b/game/ui/player_ui/player_ui.tscn index 7996fbdc..d25f1140 100644 --- a/game/ui/player_ui/player_ui.tscn +++ b/game/ui/player_ui/player_ui.tscn @@ -96,42 +96,39 @@ padname = "TargetPad" anchor_right = 1.0 anchor_bottom = 1.0 mouse_filter = 2 -custom_constants/margin_right = 100 custom_constants/margin_top = 200 -custom_constants/margin_left = 60 -custom_constants/margin_bottom = 50 __meta__ = { "_edit_group_": true, -"_edit_lock_": true +"_edit_lock_": true, +"_edit_use_anchors_": false } [node name="HBoxContainer" type="HBoxContainer" parent="GUI/TouchMovementControls"] -margin_left = 60.0 margin_top = 200.0 -margin_right = 924.0 -margin_bottom = 550.0 +margin_right = 1024.0 +margin_bottom = 600.0 mouse_filter = 2 size_flags_horizontal = 7 size_flags_vertical = 7 [node name="VBoxContainer" type="VBoxContainer" parent="GUI/TouchMovementControls/HBoxContainer"] -margin_right = 244.0 -margin_bottom = 350.0 +margin_right = 290.0 +margin_bottom = 400.0 mouse_filter = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="Control" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer"] -margin_right = 244.0 -margin_bottom = 171.0 +margin_right = 290.0 +margin_bottom = 196.0 mouse_filter = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="TouchPad" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer"] -margin_top = 179.0 -margin_right = 244.0 -margin_bottom = 350.0 +margin_top = 204.0 +margin_right = 290.0 +margin_bottom = 400.0 mouse_filter = 2 size_flags_horizontal = 15 size_flags_vertical = 15 @@ -141,34 +138,32 @@ position = Vector2( 100, 290 ) padname = "TouchPad" [node name="Control" type="Control" parent="GUI/TouchMovementControls/HBoxContainer"] -anchor_left = -0.00231481 -anchor_right = -0.00231481 -margin_left = 248.0 -margin_right = 614.0 -margin_bottom = 350.0 +margin_left = 294.0 +margin_right = 729.0 +margin_bottom = 400.0 mouse_filter = 2 size_flags_horizontal = 15 size_flags_vertical = 15 size_flags_stretch_ratio = 1.5 [node name="VBoxContainer2" type="VBoxContainer" parent="GUI/TouchMovementControls/HBoxContainer"] -margin_left = 618.0 -margin_right = 864.0 -margin_bottom = 350.0 +margin_left = 733.0 +margin_right = 1024.0 +margin_bottom = 400.0 mouse_filter = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="Control" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer2"] -margin_right = 246.0 -margin_bottom = 131.0 +margin_right = 291.0 +margin_bottom = 150.0 mouse_filter = 2 size_flags_vertical = 3 [node name="TurnPanel" type="Control" parent="GUI/TouchMovementControls/HBoxContainer/VBoxContainer2"] -margin_top = 139.0 -margin_right = 246.0 -margin_bottom = 350.0 +margin_top = 158.0 +margin_right = 291.0 +margin_bottom = 400.0 mouse_filter = 2 size_flags_horizontal = 15 size_flags_vertical = 15