mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[ext_resource path="res://material_maker/widgets/text_dialog.gd" type="Script" id=1]
|
|
|
|
[node name="TextDialog" type="WindowDialog"]
|
|
margin_right = 310.0
|
|
margin_bottom = 178.0
|
|
popup_exclusive = true
|
|
window_title = "blah"
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="TextEdit" type="TextEdit" parent="VBoxContainer"]
|
|
margin_right = 310.0
|
|
margin_bottom = 150.0
|
|
rect_min_size = Vector2( 0, 150 )
|
|
mouse_default_cursor_shape = 0
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_left = 93.0
|
|
margin_top = 154.0
|
|
margin_right = 217.0
|
|
margin_bottom = 174.0
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 0
|
|
|
|
[node name="OK" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_right = 60.0
|
|
margin_bottom = 20.0
|
|
rect_min_size = Vector2( 60, 0 )
|
|
text = "OK"
|
|
|
|
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 64.0
|
|
margin_right = 124.0
|
|
margin_bottom = 20.0
|
|
rect_min_size = Vector2( 60, 0 )
|
|
text = "Cancel"
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/OK" to="." method="_on_OK_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="queue_free"]
|