| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- [gd_scene load_steps=3 format=3 uid="uid://b6vfotuimp4ay"]
- [ext_resource type="Script" uid="uid://do4egrkh2y7ec" path="res://Scripts/editor_test.gd" id="1_xvgr4"]
- [ext_resource type="Texture2D" uid="uid://bkbthijjqw52q" path="res://icon.svg" id="2_xvgr4"]
- [node name="Control" type="Control"]
- layout_mode = 3
- anchors_preset = 15
- anchor_right = 1.0
- anchor_bottom = 1.0
- grow_horizontal = 2
- grow_vertical = 2
- script = ExtResource("1_xvgr4")
- [node name="Button" type="Button" parent="."]
- layout_mode = 1
- offset_left = 33.0
- offset_top = 486.0
- offset_right = 291.0
- offset_bottom = 589.0
- text = "test"
- [node name="Panel" type="Panel" parent="."]
- layout_mode = 1
- offset_left = 27.0
- offset_top = 68.0
- offset_right = 318.0
- offset_bottom = 454.0
- [node name="TextureRect" type="TextureRect" parent="."]
- layout_mode = 1
- offset_left = 394.0
- offset_top = 78.0
- offset_right = 644.0
- offset_bottom = 457.0
- texture = ExtResource("2_xvgr4")
- [node name="Label" type="Label" parent="."]
- layout_mode = 0
- offset_left = 445.0
- offset_top = 462.0
- offset_right = 584.0
- offset_bottom = 584.0
- text = "drop here"
- [node name="FileDialog" type="FileDialog" parent="."]
- title = "Open File(s)"
- initial_position = 2
- ok_button_text = "Open"
- dialog_hide_on_ok = true
- file_mode = 1
- access = 2
- filters = PackedStringArray("*.png")
- use_native_dialog = true
- [connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
- [connection signal="files_selected" from="FileDialog" to="." method="_on_file_dialog_files_selected"]
|