2018-08-07 23:21:12 +02:00
|
|
|
[gd_scene load_steps=2 format=2]
|
|
|
|
|
2020-01-25 15:20:08 +01:00
|
|
|
[ext_resource path="res://material_maker/widgets/line_dialog.gd" type="Script" id=1]
|
2018-08-07 23:21:12 +02:00
|
|
|
|
2018-09-10 21:59:52 +02:00
|
|
|
[node name="LineDialog" type="WindowDialog"]
|
2018-08-07 23:21:12 +02:00
|
|
|
margin_right = 332.0
|
|
|
|
margin_bottom = 72.0
|
2018-09-10 21:59:52 +02:00
|
|
|
window_title = "blah"
|
2018-08-07 23:21:12 +02:00
|
|
|
script = ExtResource( 1 )
|
|
|
|
|
2019-09-27 08:28:33 +02:00
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
2018-08-07 23:21:12 +02:00
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
2019-09-27 08:28:33 +02:00
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
2018-08-07 23:21:12 +02:00
|
|
|
margin_right = 332.0
|
|
|
|
margin_bottom = 14.0
|
2018-09-10 21:59:52 +02:00
|
|
|
text = "blah"
|
2018-08-07 23:21:12 +02:00
|
|
|
|
2019-09-27 08:28:33 +02:00
|
|
|
[node name="LineEdit" type="LineEdit" parent="VBoxContainer"]
|
2018-08-07 23:21:12 +02:00
|
|
|
margin_top = 18.0
|
|
|
|
margin_right = 332.0
|
|
|
|
margin_bottom = 42.0
|
|
|
|
|
2019-09-27 08:28:33 +02:00
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
2018-09-10 21:59:52 +02:00
|
|
|
margin_left = 104.0
|
2018-08-20 15:43:03 +02:00
|
|
|
margin_top = 46.0
|
2018-09-10 21:59:52 +02:00
|
|
|
margin_right = 228.0
|
2018-08-20 15:43:03 +02:00
|
|
|
margin_bottom = 66.0
|
2018-09-10 21:59:52 +02:00
|
|
|
size_flags_horizontal = 4
|
2018-08-07 23:21:12 +02:00
|
|
|
size_flags_vertical = 0
|
|
|
|
|
2019-09-27 08:28:33 +02:00
|
|
|
[node name="OK" type="Button" parent="VBoxContainer/HBoxContainer"]
|
2018-08-07 23:21:12 +02:00
|
|
|
margin_right = 60.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_min_size = Vector2( 60, 0 )
|
|
|
|
text = "OK"
|
|
|
|
|
2019-09-27 08:28:33 +02:00
|
|
|
[node name="Cancel" type="Button" parent="VBoxContainer/HBoxContainer"]
|
2018-08-07 23:21:12 +02:00
|
|
|
margin_left = 64.0
|
|
|
|
margin_right = 124.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_min_size = Vector2( 60, 0 )
|
|
|
|
text = "Cancel"
|
2018-09-08 12:25:28 +02:00
|
|
|
[connection signal="text_entered" from="VBoxContainer/LineEdit" to="." method="_on_LineEdit_text_entered"]
|
2018-08-07 23:21:12 +02:00
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/OK" to="." method="_on_OK_pressed"]
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="queue_free"]
|