Files
dungeon-divers/scenes/ui/chat.tscn
T
2025-12-16 15:51:26 -05:00

46 lines
1.2 KiB
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://cd2vqevj7ggok"]
[ext_resource type="Script" uid="uid://bknoefdelbqoo" path="res://scripts/ui/chat_ui.gd" id="1_6bdm3"]
[node name="Chat" type="CanvasLayer"]
script = ExtResource("1_6bdm3")
[node name="Control" type="Control" parent="."]
custom_minimum_size = Vector2(70, 0)
layout_mode = 3
anchors_preset = 9
anchor_bottom = 1.0
grow_vertical = 2
scale = Vector2(4.17, 1)
[node name="VBoxContainer" type="VBoxContainer" parent="Control"]
custom_minimum_size = Vector2(200, 0)
layout_mode = 1
anchors_preset = -1
anchor_top = 0.704
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 0.4796219
offset_top = 4.0
offset_right = 130.47961
offset_bottom = 4.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(0.31894487, 1)
[node name="ChatLog" type="ScrollContainer" parent="Control/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="ChatMessages" type="VBoxContainer" parent="Control/VBoxContainer/ChatLog"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="InputContainer" type="HBoxContainer" parent="Control/VBoxContainer"]
layout_mode = 2
[node name="ChatInput" type="LineEdit" parent="Control/VBoxContainer/InputContainer"]
layout_mode = 2
expand_to_text_length = true