ini
This commit is contained in:
43
Scenes/StringLoader.tscn
Normal file
43
Scenes/StringLoader.tscn
Normal file
@@ -0,0 +1,43 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://cubdalatqln4x"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scenes/StringLoader.cs" id="1_qoxxp"]
|
||||
|
||||
[node name="StringLoader" type="Window"]
|
||||
size = Vector2i(500, 250)
|
||||
script = ExtResource("1_qoxxp")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -225.0
|
||||
offset_top = -37.5
|
||||
offset_right = 225.0
|
||||
offset_bottom = 37.5
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Expression:"
|
||||
|
||||
[node name="Input" type="TextEdit" parent="VBoxContainer"]
|
||||
custom_minimum_size = Vector2(450, 40)
|
||||
layout_mode = 2
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
alignment = 1
|
||||
|
||||
[node name="Load" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Load"
|
||||
|
||||
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
text = "Cancel"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Load" to="." method="Load"]
|
||||
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="Cancel"]
|
||||
Reference in New Issue
Block a user