mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-03 19:04:40 +01:00
128 lines
3 KiB
Text
128 lines
3 KiB
Text
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://scenes/file_browser.gd" type="Script" id=1]
|
|
[ext_resource path="res://fonts/default.tres" type="DynamicFont" 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
|
|
rect_min_size = Vector2( 0, 142 )
|
|
focus_mode = 2
|
|
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
|
|
mouse_filter = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Margin" type="MarginContainer" parent="Panel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
mouse_filter = 1
|
|
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
|
|
custom_constants/separation = 0
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Title" type="Label" parent="Panel/Margin/Rows"]
|
|
visible = false
|
|
margin_right = 1904.0
|
|
margin_bottom = 29.0
|
|
text = "title"
|
|
align = 1
|
|
|
|
[node name="Breadcrumbs" type="HBoxContainer" parent="Panel/Margin/Rows"]
|
|
visible = false
|
|
margin_top = 29.0
|
|
margin_right = 1904.0
|
|
margin_bottom = 79.0
|
|
rect_min_size = Vector2( 0, 50 )
|
|
custom_constants/separation = 8
|
|
|
|
[node name="Button" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
|
|
margin_right = 61.0
|
|
margin_bottom = 50.0
|
|
text = "root"
|
|
|
|
[node name="Button2" type="Button" parent="Panel/Margin/Rows/Breadcrumbs"]
|
|
margin_left = 69.0
|
|
margin_right = 114.0
|
|
margin_bottom = 50.0
|
|
text = "dir"
|
|
|
|
[node name="World" type="Control" parent="Panel/Margin/Rows"]
|
|
margin_right = 1904.0
|
|
margin_bottom = 1064.0
|
|
mouse_filter = 1
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 3
|
|
|
|
[node name="TextEdit" type="TextEdit" parent="Panel"]
|
|
visible = false
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
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
|
|
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
|
|
}
|
|
|
|
[node name="PopupMenu" type="PopupMenu" parent="."]
|
|
margin_right = 20.0
|
|
margin_bottom = 20.0
|
|
[connection signal="pressed" from="Panel/TextEdit/SaveButton" to="." method="save"]
|
|
[connection signal="pressed" from="Panel/TextEdit/CloseButton" to="." method="close"]
|