-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpanel.tscn
56 lines (47 loc) · 1.66 KB
/
panel.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
[gd_scene load_steps=2 format=3 uid="uid://c3h36l5b7rwu0"]
[ext_resource type="Script" path="res://addons/local_library/panel.gd" id="1_h8egq"]
[node name="Panel" type="MarginContainer"]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = 259.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/margin_left = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_right = 8
theme_override_constants/margin_bottom = 8
script = ExtResource("1_h8egq")
[node name="VBox" type="VBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 8
[node name="HBox" type="HBoxContainer" parent="VBox"]
layout_mode = 2
[node name="Add" type="Button" parent="VBox/HBox"]
layout_mode = 2
size_flags_horizontal = 3
disabled = true
text = "Add Selected Items to Project"
alignment = 0
[node name="Folder" type="Button" parent="VBox/HBox"]
layout_mode = 2
size_flags_horizontal = 3
text = "Open \"Local Library\" Folder"
alignment = 0
[node name="Refresh" type="Button" parent="VBox/HBox"]
layout_mode = 2
size_flags_horizontal = 3
text = "Refresh List"
alignment = 0
[node name="FileTree" type="Tree" parent="VBox"]
layout_mode = 2
size_flags_vertical = 3
theme_override_font_sizes/font_size = 20
hide_root = true
select_mode = 2
[connection signal="pressed" from="VBox/HBox/Add" to="." method="add_items_pressed"]
[connection signal="pressed" from="VBox/HBox/Folder" to="." method="folder_pressed"]
[connection signal="pressed" from="VBox/HBox/Refresh" to="." method="refresh_pressed"]
[connection signal="cell_selected" from="VBox/FileTree" to="." method="file_tree_cell_selected"]