Improved UI textbox

This commit is contained in:
2026-06-12 11:56:30 -05:00
parent f6a0bb156e
commit 2f3a4eab66
39 changed files with 574 additions and 706 deletions
+27
View File
@@ -0,0 +1,27 @@
[gd_scene load_steps=3 format=3]
[ext_resource type="Theme" path="res://ui/UI Theme.tres" id="1"]
[ext_resource type="Script" path="res://ui/component/DialogueTextbox.gd" id="2"]
[node name="DialogueTextbox" type="PanelContainer"]
custom_minimum_size = Vector2(120, 70)
mouse_filter = 2
theme = ExtResource("1")
script = ExtResource("2")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
theme_override_constants/separation = 1
[node name="SpeakerLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = ""
visible = false
[node name="BodyLabel" type="RichTextLabel" parent="VBoxContainer"]
layout_mode = 2
custom_minimum_size = Vector2(0, 36)
size_flags_vertical = 3
bbcode_enabled = true
scroll_active = true
autowrap_mode = 3