-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathnotification.tscn
51 lines (40 loc) · 1.5 KB
/
notification.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
[gd_scene load_steps=3 format=3 uid="uid://bfilseyqk17g6"]
[ext_resource type="Script" path="res://examples/notification.gd" id="1_jmpmd"]
[ext_resource type="LabelSettings" uid="uid://bcnt8xhjv02bx" path="res://examples/header_label_settings.tres" id="1_vjl1f"]
[node name="Notification" type="HBoxContainer"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -123.5
offset_top = -45.0
offset_right = 123.5
offset_bottom = 45.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_jmpmd")
[node name="Col1" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Label" type="Label" parent="Col1"]
layout_mode = 2
text = "Notification"
label_settings = ExtResource("1_vjl1f")
[node name="DisplayRow" type="HBoxContainer" parent="Col1"]
layout_mode = 2
[node name="Label" type="Label" parent="Col1/DisplayRow"]
layout_mode = 2
size_flags_horizontal = 3
text = "Current Items:"
[node name="ItemsLabel" type="Label" parent="Col1/DisplayRow"]
layout_mode = 2
[node name="ActionRow" type="HBoxContainer" parent="Col1"]
layout_mode = 2
[node name="ItemEdit" type="LineEdit" parent="Col1/ActionRow"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 2
[node name="AddButton" type="Button" parent="Col1/ActionRow"]
layout_mode = 2
text = "ADD"
[connection signal="text_submitted" from="Col1/ActionRow/ItemEdit" to="." method="_on_item_edit_text_submitted"]
[connection signal="pressed" from="Col1/ActionRow/AddButton" to="." method="_on_add_button_pressed"]