-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathexample.tscn
More file actions
48 lines (42 loc) · 1.58 KB
/
Copy pathexample.tscn
File metadata and controls
48 lines (42 loc) · 1.58 KB
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
[gd_scene load_steps=5 format=3 uid="uid://crnac01bnyk3"]
[ext_resource type="Script" uid="uid://tahli441tq7q" path="res://main.gd" id="1_isv8r"]
[ext_resource type="Script" uid="uid://by7ubl72da02t" path="res://addons/dynamic_table/dynamic_table.gd" id="2_wsykm"]
[ext_resource type="Texture2D" uid="uid://8c3g6m0mra14" path="res://assets/icons/add.png" id="3_d0p6g"]
[ext_resource type="Texture2D" uid="uid://bx005mwtg41xj" path="res://assets/icons/remove.png" id="4_8lxdp"]
[node name="Control" type="Control"]
custom_minimum_size = Vector2(1000, 400)
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_isv8r")
[node name="DynamicTable" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_bottom = -321.0
grow_horizontal = 2
grow_vertical = 2
focus_mode = 2
script = ExtResource("2_wsykm")
[node name="PopupMenu" type="PopupMenu" parent="."]
size = Vector2i(130, 65)
item_count = 2
item_0/text = "Insert row"
item_0/icon = ExtResource("3_d0p6g")
item_0/id = 0
item_1/text = "Delete row(s)"
item_1/icon = ExtResource("4_8lxdp")
item_1/id = 1
[node name="ConfirmationDialog" type="ConfirmationDialog" parent="."]
title = "Please Confirm deleting data"
initial_position = 1
size = Vector2i(400, 100)
ok_button_text = "Yes"
[connection signal="id_pressed" from="PopupMenu" to="." method="_on_popup_menu_id_pressed"]
[connection signal="confirmed" from="ConfirmationDialog" to="." method="_on_confirmation_dialog_confirmed"]