52 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[gd_scene load_steps=2 format=2]
 | 
						|
 | 
						|
[ext_resource path="res://addons/de.mewin.gduibasics/scenes/scripts/line_input_dialog.gd" type="Script" id=1]
 | 
						|
 | 
						|
[node name="line_input_dialog" type="ConfirmationDialog"]
 | 
						|
anchor_right = 1.0
 | 
						|
anchor_bottom = 1.0
 | 
						|
margin_right = -524.0
 | 
						|
margin_bottom = -499.0
 | 
						|
rect_min_size = Vector2( 500, 90 )
 | 
						|
window_title = "Enter a text..."
 | 
						|
dialog_text = "Enter a text:"
 | 
						|
script = ExtResource( 1 )
 | 
						|
__meta__ = {
 | 
						|
"_edit_use_anchors_": false
 | 
						|
}
 | 
						|
 | 
						|
[node name="container" type="VBoxContainer" parent="."]
 | 
						|
margin_left = 8.0
 | 
						|
margin_top = 22.0
 | 
						|
margin_right = 492.0
 | 
						|
margin_bottom = 79.0
 | 
						|
mouse_filter = 2
 | 
						|
__meta__ = {
 | 
						|
"_edit_use_anchors_": false
 | 
						|
}
 | 
						|
 | 
						|
[node name="control" type="Control" parent="container"]
 | 
						|
margin_right = 484.0
 | 
						|
margin_bottom = 5.0
 | 
						|
rect_min_size = Vector2( 0, 5 )
 | 
						|
 | 
						|
[node name="line_edit" type="LineEdit" parent="container"]
 | 
						|
margin_top = 9.0
 | 
						|
margin_right = 484.0
 | 
						|
margin_bottom = 33.0
 | 
						|
size_flags_horizontal = 3
 | 
						|
__meta__ = {
 | 
						|
"_edit_use_anchors_": false
 | 
						|
}
 | 
						|
 | 
						|
[node name="control2" type="Control" parent="container"]
 | 
						|
margin_top = 37.0
 | 
						|
margin_right = 484.0
 | 
						|
margin_bottom = 57.0
 | 
						|
rect_min_size = Vector2( 0, 20 )
 | 
						|
mouse_filter = 2
 | 
						|
[connection signal="about_to_show" from="." to="." method="_on_line_input_dialog_about_to_show"]
 | 
						|
[connection signal="visibility_changed" from="." to="." method="_on_line_input_dialog_visibility_changed"]
 | 
						|
[connection signal="text_changed" from="container/line_edit" to="." method="_on_line_edit_text_changed"]
 | 
						|
[connection signal="text_entered" from="container/line_edit" to="." method="_on_line_edit_text_entered"]
 |