[gd_scene load_steps=3 format=3 uid="uid://dlvpj0h0faaih"] [ext_resource type="Script" uid="uid://dkdwnp05n1vy6" path="res://addons/mod_tool/interface/global/input_string_with_button.gd" id="1"] [sub_resource type="DPITexture" id="DPITexture_i2vx1"] _source = " " saturation = 2.0 color_map = { Color(1, 0.37254903, 0.37254903, 1): Color(1, 0.47, 0.42, 1), Color(0.37254903, 1, 0.5921569, 1): Color(0.45, 0.95, 0.5, 1), Color(1, 0.8666667, 0.39607844, 1): Color(1, 0.87, 0.4, 1) } [node name="InputStringWithButton" type="HBoxContainer"] anchors_preset = 10 anchor_right = 1.0 offset_bottom = 24.0 script = ExtResource("1") [node name="Label" type="Label" parent="."] layout_mode = 2 size_flags_horizontal = 3 text = " (optional)" clip_text = true [node name="ErrorIcon" type="TextureRect" parent="."] unique_name_in_owner = true self_modulate = Color(1, 1, 1, 0) custom_minimum_size = Vector2(32, 32) layout_mode = 2 texture = SubResource("DPITexture_i2vx1") expand_mode = 1 stretch_mode = 6 [node name="HBoxContainer" type="HBoxContainer" parent="."] layout_mode = 2 size_flags_horizontal = 3 [node name="Input" type="LineEdit" parent="HBoxContainer"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 [node name="Button" type="Button" parent="HBoxContainer"] layout_mode = 2 size_flags_vertical = 3 text = " ... " [connection signal="text_changed" from="HBoxContainer/Input" to="." method="_on_Input_text_changed"] [connection signal="pressed" from="HBoxContainer/Button" to="." method="emit_signal" binds= ["button_pressed"]]