oh-my-git/scenes/file_browser.tscn

136 lines
3.3 KiB
Text
Raw Permalink Normal View History

[gd_scene load_steps=4 format=2]
[ext_resource path="res://scenes/file_browser.gd" type="Script" id=1]
2023-09-06 16:04:23 +02:00
[ext_resource path="res://fonts/default.tres" type="FontFile" id=2]
[ext_resource path="res://styles/theme.tres" type="Theme" id=3]
[node name="FileBrowser" type="Control" groups=[
"editors",
]]
anchor_right = 1.0
anchor_bottom = 1.0
2023-09-06 16:04:23 +02:00
custom_minimum_size = Vector2( 0, 142 )
theme = ExtResource( 3 )
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Panel" type="Panel" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Margin" type="MarginContainer" parent="Panel"]
anchor_right = 1.0
anchor_bottom = 1.0
2023-09-06 16:04:23 +02:00
theme_override_constants/margin_right = 8
theme_override_constants/margin_top = 8
theme_override_constants/margin_left = 8
theme_override_constants/margin_bottom = 8
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Rows" type="VBoxContainer" parent="Panel/Margin"]
2023-09-06 16:04:23 +02:00
offset_left = 8.0
offset_top = 8.0
offset_right = 1912.0
offset_bottom = 1072.0
theme_override_constants/separation = 0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Title" type="Label" parent="Panel/Margin/Rows"]
2021-01-19 11:13:40 +01:00
visible = false
2023-09-06 16:04:23 +02:00
offset_right = 1904.0
offset_bottom = 29.0
text = "title"
align = 1
[node name="Breadcrumbs" type="HBoxContainer" parent="Panel/Margin/Rows"]
visible = false
2023-09-06 16:04:23 +02:00
offset_right = 1856.0
offset_bottom = 50.0
custom_minimum_size = Vector2( 0, 50 )
theme_override_constants/separation = 8
[node name="Button" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
2023-09-06 16:04:23 +02:00
offset_right = 55.0
offset_bottom = 50.0
text = "root"
[node name="Button2" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
2023-09-06 16:04:23 +02:00
offset_left = 63.0
offset_right = 104.0
offset_bottom = 50.0
text = "dir"
[node name="Scroll" type="ScrollContainer" parent="Panel/Margin/Rows"]
2023-09-06 16:04:23 +02:00
offset_right = 1904.0
offset_bottom = 1064.0
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Grid" type="GridContainer" parent="Panel/Margin/Rows/Scroll"]
2023-09-06 16:04:23 +02:00
offset_right = 1904.0
offset_bottom = 1064.0
size_flags_horizontal = 3
size_flags_vertical = 3
2023-09-06 16:04:23 +02:00
theme_override_constants/v_separation = 16
theme_override_constants/h_separation = 16
columns = 4
__meta__ = {
"_edit_use_anchors_": false
}
[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
__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
2023-09-06 16:04:23 +02:00
offset_left = -114.396
offset_top = -59.399
offset_right = -14.3955
offset_bottom = -14.399
focus_mode = 0
theme_override_fonts/font = ExtResource( 2 )
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
2023-09-06 16:04:23 +02:00
offset_left = -54.3247
offset_top = 12.0
offset_right = -14.3247
offset_bottom = 52.0
focus_mode = 0
theme_override_fonts/font = ExtResource( 2 )
focus_mode = 0
text = "x"
__meta__ = {
"_edit_use_anchors_": false
}
2020-11-10 18:34:51 +01:00
[node name="PopupMenu" type="PopupMenu" parent="."]
2023-09-06 16:04:23 +02:00
offset_right = 20.0
offset_bottom = 20.0
[connection signal="pressed" from="Panel/TextEdit/SaveButton" to="." method="save"]
[connection signal="pressed" from="Panel/TextEdit/CloseButton" to="." method="close"]