[gd_scene load_steps=5 format=3 uid="uid://cvgf4c6gg0tsy"] [ext_resource type="Script" path="res://addons/dialogic/Modules/DefaultLayoutParts/Layer_TextInput/text_input_layer.gd" id="1_7ahrn"] [ext_resource type="Script" path="res://addons/dialogic/Modules/TextInput/node_text_input.gd" id="1_mxdep"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_3dpjm"] content_margin_left = 15.0 content_margin_top = 15.0 content_margin_right = 15.0 content_margin_bottom = 15.0 bg_color = Color(1, 1, 1, 1) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 [sub_resource type="Theme" id="Theme_8xwp1"] [node name="TextInputLayer" type="Control"] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 script = ExtResource("1_7ahrn") [node name="DialogicNode_TextInput" type="Control" parent="."] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -210.0 offset_top = -50.0 offset_right = 210.0 offset_bottom = 50.0 grow_horizontal = 2 grow_vertical = 2 mouse_filter = 2 script = ExtResource("1_mxdep") input_line_edit = NodePath("TextInputPanel/VBoxContainer/InputField") text_label = NodePath("TextInputPanel/VBoxContainer/TextLabel") confirmation_button = NodePath("TextInputPanel/VBoxContainer/ConfirmationButton") metadata/_edit_layout_mode = 1 [node name="TextInputPanel" type="PanelContainer" parent="DialogicNode_TextInput"] unique_name_in_owner = true self_modulate = Color(0, 0, 0, 0.780392) layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_styles/panel = SubResource("StyleBoxFlat_3dpjm") [node name="VBoxContainer" type="VBoxContainer" parent="DialogicNode_TextInput/TextInputPanel"] layout_mode = 2 [node name="TextLabel" type="Label" parent="DialogicNode_TextInput/TextInputPanel/VBoxContainer"] unique_name_in_owner = true layout_mode = 2 theme = SubResource("Theme_8xwp1") text = "Please enter some text:" autowrap_mode = 3 [node name="InputField" type="LineEdit" parent="DialogicNode_TextInput/TextInputPanel/VBoxContainer"] layout_mode = 2 [node name="ConfirmationButton" type="Button" parent="DialogicNode_TextInput/TextInputPanel/VBoxContainer"] layout_mode = 2 size_flags_horizontal = 8 text = "Confirm"