Files
Super-Mario-Bros.-Remastere…/addons/mod_tool/interface/global/input_string_multiline.tscn
2025-10-17 22:27:44 +01:00

56 lines
1.9 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://b5cplger4co2i"]
[ext_resource type="Script" uid="uid://d0mkr0c6ga1va" path="res://addons/mod_tool/interface/global/resizeable_text_edit.gd" id="1"]
[ext_resource type="Script" uid="uid://itwpownujndt" path="res://addons/mod_tool/interface/global/input_string.gd" id="2"]
[sub_resource type="DPITexture" id="DPITexture_i2vx1"]
_source = "<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\"><path fill=\"#ffdd65\" d=\"M8 2a1 1 0 0 0-.85.484l-6 10A1 1 0 0 0 2 14h12a1 1 0 0 0 .857-1.514l-6-10a1 1 0 0 0-.85-.484zM7 5h2v5H7zm0 6h2v2H7z\"/></svg>
"
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="InputStringMultiline" type="HBoxContainer"]
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 24.0
script = ExtResource("2")
[node name="Label" type="Label" parent="."]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 5
text = " (optional)"
clip_text = true
[node name="Margin" type="MarginContainer" parent="."]
layout_mode = 2
theme_override_constants/margin_top = 10
theme_override_constants/margin_bottom = 10
[node name="ErrorIcon" type="TextureRect" parent="Margin"]
unique_name_in_owner = true
self_modulate = Color(1, 1, 1, 0)
custom_minimum_size = Vector2(32, 32)
layout_mode = 2
size_flags_vertical = 0
texture = SubResource("DPITexture_i2vx1")
stretch_mode = 6
[node name="VSplit" type="VSplitContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 3
script = ExtResource("1")
[node name="Input" type="TextEdit" parent="VSplit"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 200)
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 1
[connection signal="text_changed" from="VSplit/Input" to="." method="_on_Mutiline_Input_text_changed"]