diff options
Diffstat (limited to 'main.tscn')
| -rw-r--r-- | main.tscn | 66 |
1 files changed, 42 insertions, 24 deletions
@@ -1,8 +1,8 @@ -[gd_scene load_steps=16 format=2] +[gd_scene load_steps=17 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] -[ext_resource path="res://theme_dark.tres" type="Theme" id=3] +[ext_resource path="res://themes/dark.tres" type="Theme" id=3] [ext_resource path="res://menu/menu.gd" type="Script" id=4] [ext_resource path="res://logic/database.gd" type="Script" id=5] [ext_resource path="res://fonts/font_icons.tres" type="DynamicFont" id=6] @@ -16,6 +16,20 @@ [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 @@ -29,10 +43,13 @@ script = ExtResource( 5 ) [node name="menu" type="MenuButton" parent="database"] anchor_left = 1.0 anchor_right = 1.0 +margin_top = 32.0 margin_right = -32.0 grow_horizontal = 0 custom_fonts/font = ExtResource( 6 ) -text = "≡" +custom_styles/normal = SubResource( 1 ) +text = "" +flat = false script = ExtResource( 4 ) [node name="actions" type="VBoxContainer" parent="database"] @@ -46,39 +63,39 @@ grow_horizontal = 0 grow_vertical = 0 [node name="delete" type="Button" parent="database/actions"] -margin_right = 102.0 -margin_bottom = 162.0 +margin_right = 80.0 +margin_bottom = 95.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) +custom_styles/normal = SubResource( 1 ) enabled_focus_mode = 0 -text = "" -flat = true +text = "" __meta__ = { "_edit_use_anchors_": false } [node name="edit" type="Button" parent="database/actions"] -margin_top = 166.0 -margin_right = 102.0 -margin_bottom = 328.0 +margin_top = 99.0 +margin_right = 80.0 +margin_bottom = 194.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) +custom_styles/normal = SubResource( 1 ) enabled_focus_mode = 0 -text = "" -flat = true +text = "" __meta__ = { "_edit_use_anchors_": false } [node name="add" type="Button" parent="database/actions"] -margin_top = 332.0 -margin_right = 102.0 -margin_bottom = 494.0 +margin_top = 198.0 +margin_right = 80.0 +margin_bottom = 293.0 focus_mode = 0 custom_fonts/font = ExtResource( 6 ) +custom_styles/normal = SubResource( 1 ) enabled_focus_mode = 0 -text = "" -flat = true +text = "" __meta__ = { "_edit_use_anchors_": false } @@ -208,14 +225,14 @@ margin_bottom = 994.0 [node name="discard" type="Button" parent="stage/controls/buttons"] anchor_right = 0.5 -text = "discard" +text = "Discard" [node name="save" type="Button" parent="stage/controls/buttons"] anchor_left = 0.5 anchor_right = 1.0 margin_bottom = 58.0 grow_horizontal = 0 -text = "save" +text = "Save" [node name="file_picker" type="FileDialog" parent="."] anchor_right = 1.0 @@ -248,11 +265,11 @@ anchor_right = 0.95 anchor_bottom = 0.975 [node name="title" type="Label" parent="popup"] -anchor_left = 0.05 +anchor_left = 0.124 anchor_top = 0.025 anchor_right = 0.95 anchor_bottom = 0.1 -margin_left = 80.0 +margin_left = 0.0799866 margin_right = -80.0 margin_bottom = -20.0 align = 1 @@ -262,11 +279,12 @@ autowrap = true [node name="dismiss" type="Button" parent="popup"] anchor_left = 0.05 anchor_top = 0.025 -anchor_right = 0.95 +anchor_right = 0.124 anchor_bottom = 0.1 -margin_right = -892.0 +margin_right = 0.0799866 margin_bottom = -20.0 -text = "<" +custom_fonts/font = ExtResource( 6 ) +text = "" flat = true [node name="option_set_list" type="Control" parent="."] |
