material-maker/material_maker/widgets/text_dialog.tscn

44 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-09-10 21:59:52 +02:00
[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"]
2018-09-10 21:59:52 +02:00
margin_right = 310.0
margin_bottom = 178.0
popup_exclusive = true
2018-09-10 21:59:52 +02:00
window_title = "blah"
script = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
2018-09-10 21:59:52 +02:00
anchor_right = 1.0
anchor_bottom = 1.0
[node name="TextEdit" type="TextEdit" parent="VBoxContainer"]
2018-09-10 21:59:52 +02:00
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"]
2018-09-10 21:59:52 +02:00
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"]
2018-09-10 21:59:52 +02:00
margin_right = 60.0
margin_bottom = 20.0
rect_min_size = Vector2( 60, 0 )
text = "OK"
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
2018-09-10 21:59:52 +02:00
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"]