2020-10-23 16:43:02 +02:00
|
|
|
[gd_scene load_steps=4 format=2]
|
2020-09-22 13:15:36 +02:00
|
|
|
|
2020-10-26 19:15:47 +01:00
|
|
|
[ext_resource path="res://scenes/file_browser.gd" type="Script" id=1]
|
2020-10-23 16:43:02 +02:00
|
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" id=2]
|
2020-10-23 13:07:16 +02:00
|
|
|
[ext_resource path="res://styles/theme.tres" type="Theme" id=3]
|
2020-09-22 13:15:36 +02:00
|
|
|
|
2023-05-16 13:33:02 +02:00
|
|
|
[node name="FileBrowser" type="Control" groups=["editors"]]
|
2020-09-22 13:15:36 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-10-23 16:43:02 +02:00
|
|
|
rect_min_size = Vector2( 0, 142 )
|
2020-10-23 13:07:16 +02:00
|
|
|
theme = ExtResource( 3 )
|
2020-09-22 13:15:36 +02:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2020-10-23 13:07:16 +02:00
|
|
|
[node name="Panel" type="Panel" parent="."]
|
2020-09-22 13:15:36 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-23 13:07:16 +02:00
|
|
|
|
|
|
|
[node name="Margin" type="MarginContainer" parent="Panel"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
custom_constants/margin_right = 8
|
|
|
|
custom_constants/margin_top = 8
|
|
|
|
custom_constants/margin_left = 8
|
|
|
|
custom_constants/margin_bottom = 8
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="Rows" type="VBoxContainer" parent="Panel/Margin"]
|
|
|
|
margin_left = 8.0
|
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = 1912.0
|
|
|
|
margin_bottom = 1072.0
|
2020-10-23 16:43:02 +02:00
|
|
|
custom_constants/separation = 0
|
2020-10-23 13:07:16 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
2020-10-23 16:43:02 +02:00
|
|
|
[node name="Title" type="Label" parent="Panel/Margin/Rows"]
|
2021-01-19 11:13:40 +01:00
|
|
|
visible = false
|
2020-10-23 16:43:02 +02:00
|
|
|
margin_right = 1904.0
|
2020-11-13 11:21:36 +01:00
|
|
|
margin_bottom = 29.0
|
2020-10-23 16:43:02 +02:00
|
|
|
text = "title"
|
|
|
|
align = 1
|
|
|
|
|
2020-10-23 13:07:16 +02:00
|
|
|
[node name="Breadcrumbs" type="HBoxContainer" parent="Panel/Margin/Rows"]
|
|
|
|
visible = false
|
|
|
|
margin_right = 1856.0
|
|
|
|
margin_bottom = 50.0
|
|
|
|
rect_min_size = Vector2( 0, 50 )
|
|
|
|
custom_constants/separation = 8
|
|
|
|
|
|
|
|
[node name="Button" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
|
|
|
|
margin_right = 55.0
|
|
|
|
margin_bottom = 50.0
|
|
|
|
text = "root"
|
|
|
|
|
|
|
|
[node name="Button2" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
|
|
|
|
margin_left = 63.0
|
|
|
|
margin_right = 104.0
|
|
|
|
margin_bottom = 50.0
|
|
|
|
text = "dir"
|
|
|
|
|
|
|
|
[node name="Scroll" type="ScrollContainer" parent="Panel/Margin/Rows"]
|
|
|
|
margin_right = 1904.0
|
|
|
|
margin_bottom = 1064.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="Grid" type="GridContainer" parent="Panel/Margin/Rows/Scroll"]
|
|
|
|
margin_right = 1904.0
|
2021-01-19 11:13:40 +01:00
|
|
|
margin_bottom = 1064.0
|
2020-10-23 13:07:16 +02:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
custom_constants/vseparation = 16
|
|
|
|
custom_constants/hseparation = 16
|
2020-11-10 23:17:48 +01:00
|
|
|
columns = 4
|
2020-10-23 13:07:16 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-10-23 16:43:02 +02:00
|
|
|
|
|
|
|
[node name="TextEdit" type="TextEdit" parent="Panel"]
|
|
|
|
visible = false
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
2020-10-27 18:21:57 +01:00
|
|
|
wrap_enabled = true
|
2020-10-23 16:43:02 +02:00
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="SaveButton" type="Button" parent="Panel/TextEdit"]
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
margin_left = -114.396
|
|
|
|
margin_top = -59.399
|
|
|
|
margin_right = -14.3955
|
|
|
|
margin_bottom = -14.399
|
|
|
|
focus_mode = 0
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "Save"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="CloseButton" type="Button" parent="Panel/TextEdit"]
|
|
|
|
anchor_left = 1.0
|
|
|
|
anchor_right = 1.0
|
|
|
|
margin_left = -54.3247
|
|
|
|
margin_top = 12.0
|
|
|
|
margin_right = -14.3247
|
|
|
|
margin_bottom = 52.0
|
|
|
|
focus_mode = 0
|
|
|
|
custom_fonts/font = ExtResource( 2 )
|
|
|
|
enabled_focus_mode = 0
|
|
|
|
text = "x"
|
|
|
|
__meta__ = {
|
|
|
|
"_edit_use_anchors_": false
|
|
|
|
}
|
2020-11-10 18:34:51 +01:00
|
|
|
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="."]
|
|
|
|
margin_right = 20.0
|
|
|
|
margin_bottom = 20.0
|
2023-05-16 13:33:02 +02:00
|
|
|
|
2020-10-23 16:43:02 +02:00
|
|
|
[connection signal="pressed" from="Panel/TextEdit/SaveButton" to="." method="save"]
|
|
|
|
[connection signal="pressed" from="Panel/TextEdit/CloseButton" to="." method="close"]
|