From 30827461fd99ed7f928fee92dd13d0a3634a3ecc Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Wed, 6 Dec 2023 21:55:13 +0200 Subject: [PATCH] Add margins to the tool options --- src/UI/UI.tscn | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/UI/UI.tscn b/src/UI/UI.tscn index ad74d833a..8f3fb402a 100644 --- a/src/UI/UI.tscn +++ b/src/UI/UI.tscn @@ -310,7 +310,7 @@ camera_path = NodePath("SubViewport/Camera2D") [node name="SubViewport" type="SubViewport" parent="DockableContainer/Main Canvas/ViewportandVerticalRuler/SubViewportContainer"] handle_input_locally = false canvas_item_default_texture_filter = 0 -size = Vector2i(850, 503) +size = Vector2i(862, 515) render_target_update_mode = 4 [node name="TransparentChecker" parent="DockableContainer/Main Canvas/ViewportandVerticalRuler/SubViewportContainer/SubViewport" instance=ExtResource("5")] @@ -377,21 +377,25 @@ layout_mode = 2 custom_minimum_size = Vector2(72, 72) layout_mode = 2 -[node name="LeftPanelContainer" type="PanelContainer" parent="DockableContainer/Left Tool Options"] +[node name="LeftPanelContainer" type="MarginContainer" parent="DockableContainer/Left Tool Options"] custom_minimum_size = Vector2(130, 0) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 +theme_override_constants/margin_left = 8 +theme_override_constants/margin_right = 8 [node name="Right Tool Options" type="ScrollContainer" parent="DockableContainer"] custom_minimum_size = Vector2(72, 72) layout_mode = 2 -[node name="RightPanelContainer" type="PanelContainer" parent="DockableContainer/Right Tool Options"] +[node name="RightPanelContainer" type="MarginContainer" parent="DockableContainer/Right Tool Options"] custom_minimum_size = Vector2(130, 0) layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 +theme_override_constants/margin_left = 8 +theme_override_constants/margin_right = 8 [node name="Palettes" parent="DockableContainer" instance=ExtResource("20")] layout_mode = 2