From 6abe22e94b29e94bb94abaa44c31d2b806daaafe Mon Sep 17 00:00:00 2001 From: dam Date: Thu, 7 Apr 2022 16:41:40 +0000 Subject: Removed hardcoded database buttons theming; to be defined later. --- main.tscn | 36 +++++++++--------------------------- 1 file changed, 9 insertions(+), 27 deletions(-) (limited to 'main.tscn') diff --git a/main.tscn b/main.tscn index 6f08eef..f7a0d0a 100644 --- a/main.tscn +++ b/main.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=16 format=2] +[gd_scene load_steps=15 format=2] [ext_resource path="res://main.gd" type="Script" id=1] [ext_resource path="res://date_picker/date_picker.tscn" type="PackedScene" id=2] @@ -15,20 +15,6 @@ [ext_resource path="res://dialog/dialog.gd" type="Script" id=14] [ext_resource path="res://file_picker.gd" type="Script" id=15] -[sub_resource type="StyleBoxFlat" id=1] -content_margin_left = 15.0 -content_margin_right = 15.0 -content_margin_top = 15.0 -content_margin_bottom = 15.0 -bg_color = Color( 0, 0, 0, 0.75 ) -border_color = Color( 1, 1, 1, 1 ) -corner_radius_top_left = 50 -corner_radius_top_right = 50 -corner_radius_bottom_right = 50 -corner_radius_bottom_left = 50 -expand_margin_left = 7.0 -expand_margin_right = 7.0 - [node name="main" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 @@ -45,7 +31,6 @@ margin_top = 32.0 margin_right = -32.0 grow_horizontal = 0 custom_fonts/font = ExtResource( 6 ) -custom_styles/normal = SubResource( 1 ) text = "" flat = false script = ExtResource( 4 ) @@ -61,11 +46,10 @@ grow_horizontal = 0 grow_vertical = 0 [node name="delete" type="Button" parent="database/actions"] -margin_right = 73.0 -margin_bottom = 86.0 +margin_right = 63.0 +margin_bottom = 56.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) -custom_styles/normal = SubResource( 1 ) shortcut_in_tooltip = false enabled_focus_mode = 0 text = "" @@ -74,12 +58,11 @@ __meta__ = { } [node name="edit" type="Button" parent="database/actions"] -margin_top = 96.0 -margin_right = 73.0 -margin_bottom = 182.0 +margin_top = 66.0 +margin_right = 63.0 +margin_bottom = 122.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) -custom_styles/normal = SubResource( 1 ) shortcut_in_tooltip = false enabled_focus_mode = 0 text = "" @@ -88,12 +71,11 @@ __meta__ = { } [node name="add" type="Button" parent="database/actions"] -margin_top = 192.0 -margin_right = 73.0 -margin_bottom = 278.0 +margin_top = 132.0 +margin_right = 63.0 +margin_bottom = 188.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) -custom_styles/normal = SubResource( 1 ) shortcut_in_tooltip = false enabled_focus_mode = 0 text = "" -- cgit v1.2.3