material-maker/material_maker/widgets/line_dialog.tscn

48 lines
1.4 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=2 format=2]
[ext_resource path="res://material_maker/widgets/line_dialog.gd" type="Script" id=1]
2018-09-10 21:59:52 +02:00
[node name="LineDialog" type="WindowDialog"]
margin_right = 332.0
margin_bottom = 72.0
2018-09-10 21:59:52 +02:00
window_title = "blah"
script = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
[node name="Label" type="Label" parent="VBoxContainer"]
margin_right = 332.0
margin_bottom = 14.0
2018-09-10 21:59:52 +02:00
text = "blah"
[node name="LineEdit" type="LineEdit" parent="VBoxContainer"]
margin_top = 18.0
margin_right = 332.0
margin_bottom = 42.0
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
2018-09-10 21:59:52 +02:00
margin_left = 104.0
margin_top = 46.0
2018-09-10 21:59:52 +02:00
margin_right = 228.0
margin_bottom = 66.0
2018-09-10 21:59:52 +02:00
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="text_entered" from="VBoxContainer/LineEdit" to="." method="_on_LineEdit_text_entered"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/OK" to="." method="_on_OK_pressed"]
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Cancel" to="." method="queue_free"]