add new entry pop-up
This commit is contained in:
parent
60351f8199
commit
9420d4d1b4
4 changed files with 93 additions and 1 deletions
|
|
@ -1,4 +1,6 @@
|
|||
[gd_scene format=3 uid="uid://h1sdn3cjclqi"]
|
||||
[gd_scene load_steps=2 format=3 uid="uid://h1sdn3cjclqi"]
|
||||
|
||||
[ext_resource type="Script" path="res://loaded.gd" id="1_ntmjw"]
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer"]
|
||||
anchors_preset = 15
|
||||
|
|
@ -6,6 +8,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_ntmjw")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
layout_mode = 2
|
||||
|
|
@ -30,3 +33,26 @@ text = "another one"
|
|||
layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
theme_override_font_sizes/font_size = 1
|
||||
|
||||
[node name="PanelContainer2" type="PanelContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="PanelContainer2"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="PanelContainer2/HBoxContainer"]
|
||||
custom_minimum_size = Vector2(32, 32)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
|
||||
[node name="Label" type="Label" parent="PanelContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Foobar"
|
||||
|
||||
[node name="Button2" type="Button" parent="PanelContainer2/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 10
|
||||
text = "+ NEW"
|
||||
|
||||
[connection signal="pressed" from="PanelContainer2/HBoxContainer/Button2" to="." method="_on_button_2_pressed"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue