gduibasics/scenes/editor_file_edit.tscn
2021-08-21 17:15:07 +02:00

33 lines
909 B
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://addons/de.mewin.gduibasics/scenes/scripts/editor_file_edit.gd" type="Script" id=1]
[node name="editor_file_edit" type="HBoxContainer"]
anchor_right = 1.0
margin_bottom = 24.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="line_edit" type="LineEdit" parent="."]
margin_right = 969.0
margin_bottom = 24.0
size_flags_horizontal = 3
size_flags_vertical = 0
editable = false
[node name="button" type="Button" parent="."]
margin_left = 973.0
margin_right = 1024.0
margin_bottom = 24.0
text = "Select"
[node name="file_dialog" type="FileDialog" parent="."]
margin_right = 307.0
margin_bottom = 130.0
window_title = "Open a File"
mode = 0
[connection signal="pressed" from="button" to="." method="_on_button_pressed"]
[connection signal="file_selected" from="file_dialog" to="." method="_on_file_dialog_file_selected"]