From a084df95867a478d5cb2ddc1ad53322082c52450 Mon Sep 17 00:00:00 2001 From: dam Date: Sat, 9 Apr 2022 02:28:28 +0000 Subject: Increased size of database icons. --- main.tscn | 24 ++++++++++++++++-------- themes/dark.tres | 6 +++--- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/main.tscn b/main.tscn index d70be12..4a99142 100644 --- a/main.tscn +++ b/main.tscn @@ -27,9 +27,12 @@ script = ExtResource( 5 ) [node name="menu" type="MenuButton" parent="database"] anchor_left = 1.0 anchor_right = 1.0 +margin_left = -112.0 margin_top = 32.0 margin_right = -32.0 +margin_bottom = 112.0 grow_horizontal = 0 +rect_min_size = Vector2( 90, 90 ) custom_fonts/font = ExtResource( 6 ) text = "" flat = false @@ -44,10 +47,13 @@ margin_right = -32.0 margin_bottom = -32.0 grow_horizontal = 0 grow_vertical = 0 +custom_constants/separation = 30 +alignment = 2 [node name="delete" type="Button" parent="database/actions"] -margin_right = 63.0 -margin_bottom = 56.0 +margin_right = 90.0 +margin_bottom = 80.0 +rect_min_size = Vector2( 80, 80 ) focus_mode = 0 custom_fonts/font = ExtResource( 6 ) shortcut_in_tooltip = false @@ -58,9 +64,10 @@ __meta__ = { } [node name="edit" type="Button" parent="database/actions"] -margin_top = 66.0 -margin_right = 63.0 -margin_bottom = 122.0 +margin_top = 110.0 +margin_right = 90.0 +margin_bottom = 190.0 +rect_min_size = Vector2( 80, 80 ) focus_mode = 0 custom_fonts/font = ExtResource( 6 ) shortcut_in_tooltip = false @@ -71,9 +78,10 @@ __meta__ = { } [node name="add" type="Button" parent="database/actions"] -margin_top = 132.0 -margin_right = 63.0 -margin_bottom = 188.0 +margin_top = 220.0 +margin_right = 90.0 +margin_bottom = 310.0 +rect_min_size = Vector2( 90, 90 ) focus_mode = 0 custom_fonts/font = ExtResource( 6 ) shortcut_in_tooltip = false diff --git a/themes/dark.tres b/themes/dark.tres index 8ec4e1b..92ca706 100644 --- a/themes/dark.tres +++ b/themes/dark.tres @@ -10,7 +10,7 @@ content_margin_right = 10.0 [sub_resource type="StyleBoxFlat" id=11] content_margin_left = 10.0 content_margin_right = 10.0 -bg_color = Color( 0.135, 0.20925, 0.3, 1 ) +bg_color = Color( 0.133333, 0.207843, 0.301961, 0.784314 ) corner_radius_top_left = 15 corner_radius_top_right = 15 corner_radius_bottom_right = 15 @@ -19,7 +19,7 @@ corner_radius_bottom_left = 15 [sub_resource type="StyleBoxFlat" id=2] content_margin_left = 10.0 content_margin_right = 10.0 -bg_color = Color( 0.25, 0.25, 0.25, 1 ) +bg_color = Color( 0.25, 0.25, 0.25, 0.784314 ) corner_radius_top_left = 15 corner_radius_top_right = 15 corner_radius_bottom_right = 15 @@ -28,7 +28,7 @@ corner_radius_bottom_left = 15 [sub_resource type="StyleBoxFlat" id=4] content_margin_left = 10.0 content_margin_right = 10.0 -bg_color = Color( 0.223529, 0.352941, 0.501961, 1 ) +bg_color = Color( 0.225, 0.353333, 0.5, 0.784314 ) corner_radius_top_left = 15 corner_radius_top_right = 15 corner_radius_bottom_right = 15 -- cgit v1.2.3