Created ChatBox UI
Created ChatBox UI for display chat in the Overlay.
This commit is contained in:
parent
54901a14b9
commit
feba26839b
3 changed files with 166 additions and 0 deletions
26
UI/Controls/chat_box.tscn
Normal file
26
UI/Controls/chat_box.tscn
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
[gd_scene format=3 uid="uid://cstq30mjx0pch"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dcikt7pf001m8" path="res://UI/Controls/chat_box.gd" id="1_dg5g0"]
|
||||
|
||||
[node name="ChatBox" type="Control" unique_id=859214320]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
script = ExtResource("1_dg5g0")
|
||||
|
||||
[node name="ChatHistory" type="ScrollContainer" parent="." unique_id=1482465110]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(0, 300)
|
||||
layout_mode = 0
|
||||
offset_bottom = 300.0
|
||||
follow_focus = true
|
||||
horizontal_scroll_mode = 0
|
||||
vertical_scroll_mode = 3
|
||||
|
||||
[node name="History" type="VBoxContainer" parent="ChatHistory" unique_id=345296200]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
Loading…
Add table
Add a link
Reference in a new issue