-
Notifications
You must be signed in to change notification settings - Fork 0
/
new_transaction.tscn
136 lines (112 loc) · 4.52 KB
/
new_transaction.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
[gd_scene load_steps=8 format=3 uid="uid://dewrj5c7dhtbx"]
[ext_resource type="StyleBox" uid="uid://gotgko0itq" path="res://Styles/budget_menu.tres" id="1_5tpfg"]
[ext_resource type="Theme" uid="uid://c50a2v5brijr8" path="res://Themes/new_transaction.tres" id="2_fyltn"]
[ext_resource type="StyleBox" uid="uid://bj7b8pwrwivk8" path="res://Themes/new_transaction_lineEdit.tres" id="3_q0p12"]
[ext_resource type="Script" path="res://MenuButton.cs" id="4_nx5g7"]
[sub_resource type="Theme" id="Theme_ak5kl"]
MarginContainer/constants/margin_bottom = 20
MarginContainer/constants/margin_left = 20
MarginContainer/constants/margin_right = 20
MarginContainer/constants/margin_top = 20
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_tpeff"]
bg_color = Color(0.73, 0.670018, 0.6059, 1)
corner_radius_top_left = 5
corner_radius_top_right = 5
corner_radius_bottom_right = 5
corner_radius_bottom_left = 5
[sub_resource type="Theme" id="Theme_ckj8m"]
LineEdit/colors/caret_color = Color(0, 0, 0, 1)
LineEdit/colors/font_color = Color(0.29219, 0.29219, 0.29219, 1)
LineEdit/colors/font_placeholder_color = Color(0.568973, 0.568973, 0.568973, 1)
LineEdit/styles/focus = null
LineEdit/styles/normal = ExtResource("3_q0p12")
[node name="New Transaction" type="Panel"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = ExtResource("1_5tpfg")
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = SubResource("Theme_ak5kl")
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 11
[node name="Header" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
[node name="Title" type="Label" parent="MarginContainer/VBoxContainer/Header"]
layout_mode = 2
theme = ExtResource("2_fyltn")
text = "New Transaction"
[node name="Control" type="Control" parent="MarginContainer/VBoxContainer/Header"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Panel" type="Panel" parent="MarginContainer/VBoxContainer/Header"]
custom_minimum_size = Vector2(200, 40)
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_tpeff")
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/Header/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
alignment = 1
[node name="Income" type="Label" parent="MarginContainer/VBoxContainer/Header/Panel/HBoxContainer"]
layout_mode = 2
theme = ExtResource("2_fyltn")
text = "Income"
[node name="Income&Expense Selector" type="CheckButton" parent="MarginContainer/VBoxContainer/Header/Panel/HBoxContainer"]
layout_mode = 2
theme = ExtResource("2_fyltn")
button_pressed = true
[node name="Expense" type="Label" parent="MarginContainer/VBoxContainer/Header/Panel/HBoxContainer"]
layout_mode = 2
theme = ExtResource("2_fyltn")
text = "Expense"
[node name="Body" type="VBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 30
[node name="Amount" type="LineEdit" parent="MarginContainer/VBoxContainer/Body"]
layout_mode = 2
theme = SubResource("Theme_ckj8m")
text = "$0.00"
placeholder_text = "$0.00"
alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/Body"]
layout_mode = 2
[node name="Date" type="LineEdit" parent="MarginContainer/VBoxContainer/Body/HBoxContainer"]
custom_minimum_size = Vector2(110, 0)
layout_mode = 2
theme = ExtResource("2_fyltn")
text = " PlaceHolder"
expand_to_text_length = true
[node name="Description" type="LineEdit" parent="MarginContainer/VBoxContainer/Body/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("2_fyltn")
placeholder_text = " Where did you spend this money?"
[node name="MenuButton" type="MenuButton" parent="MarginContainer/VBoxContainer/Body"]
custom_minimum_size = Vector2(0, 30)
layout_mode = 2
theme = ExtResource("2_fyltn")
text = "Choose a Budget Item"
flat = false
script = ExtResource("4_nx5g7")
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer/Body"]
layout_mode = 2
alignment = 2
[node name="Button" type="Button" parent="MarginContainer/VBoxContainer/Body/HBoxContainer2"]
layout_mode = 2
text = "Cancel"
[node name="Button2" type="Button" parent="MarginContainer/VBoxContainer/Body/HBoxContainer2"]
layout_mode = 2
text = "Add Expense"