From a9c96e478d90149f27487412422b83423be00a40 Mon Sep 17 00:00:00 2001 From: Sebastian Morr Date: Thu, 15 Oct 2020 14:39:30 +0200 Subject: [PATCH] Add 8px padding to all sides --- main.tscn | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/main.tscn b/main.tscn index 41352d9..a33f629 100644 --- a/main.tscn +++ b/main.tscn @@ -23,6 +23,10 @@ corner_radius_bottom_left = 3 [node name="Main" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 +margin_left = 8.0 +margin_top = 8.0 +margin_right = -8.0 +margin_bottom = -8.0 mouse_filter = 2 theme = ExtResource( 6 ) script = ExtResource( 2 ) @@ -52,8 +56,8 @@ __meta__ = { } [node name="Columns" type="HSplitContainer" parent="Rows"] -margin_right = 1920.0 -margin_bottom = 1080.0 +margin_right = 1904.0 +margin_bottom = 1064.0 mouse_filter = 2 size_flags_vertical = 3 __meta__ = { @@ -61,8 +65,8 @@ __meta__ = { } [node name="Repositories" type="HBoxContainer" parent="Rows/Columns"] -margin_right = 1274.0 -margin_bottom = 1080.0 +margin_right = 1263.0 +margin_bottom = 1064.0 mouse_filter = 2 size_flags_horizontal = 3 size_flags_stretch_ratio = 2.0 @@ -72,18 +76,18 @@ __meta__ = { } [node name="RightSide" type="VSplitContainer" parent="Rows/Columns"] -margin_left = 1286.0 -margin_right = 1920.0 -margin_bottom = 1080.0 +margin_left = 1275.0 +margin_right = 1904.0 +margin_bottom = 1064.0 size_flags_horizontal = 3 [node name="TopStuff" type="VBoxContainer" parent="Rows/Columns/RightSide"] -margin_right = 634.0 -margin_bottom = 534.0 +margin_right = 629.0 +margin_bottom = 526.0 size_flags_vertical = 3 [node name="Menu" type="HBoxContainer" parent="Rows/Columns/RightSide/TopStuff"] -margin_right = 634.0 +margin_right = 629.0 margin_bottom = 35.0 [node name="ChapterSelect" type="OptionButton" parent="Rows/Columns/RightSide/TopStuff/Menu"] @@ -139,12 +143,12 @@ __meta__ = { [node name="LevelPanel" type="VBoxContainer" parent="Rows/Columns/RightSide/TopStuff"] margin_top = 40.0 -margin_right = 634.0 -margin_bottom = 534.0 +margin_right = 629.0 +margin_bottom = 526.0 size_flags_vertical = 3 [node name="LevelName" type="RichTextLabel" parent="Rows/Columns/RightSide/TopStuff/LevelPanel"] -margin_right = 634.0 +margin_right = 629.0 margin_bottom = 60.0 rect_min_size = Vector2( 0, 60 ) custom_fonts/normal_font = ExtResource( 7 ) @@ -155,8 +159,8 @@ __meta__ = { [node name="Text" type="Control" parent="Rows/Columns/RightSide/TopStuff/LevelPanel"] margin_top = 65.0 -margin_right = 634.0 -margin_bottom = 494.0 +margin_right = 629.0 +margin_bottom = 486.0 size_flags_vertical = 3 [node name="LevelDescription" type="RichTextLabel" parent="Rows/Columns/RightSide/TopStuff/LevelPanel/Text"] @@ -185,9 +189,9 @@ __meta__ = { [node name="Terminal" parent="Rows/Columns/RightSide" instance=ExtResource( 1 )] anchor_right = 0.0 anchor_bottom = 0.0 -margin_top = 546.0 -margin_right = 634.0 -margin_bottom = 1080.0 +margin_top = 538.0 +margin_right = 629.0 +margin_bottom = 1064.0 size_flags_vertical = 3 [node name="Cards" parent="Rows" instance=ExtResource( 3 )]