OverviewFilesCommitsIssuesDocsReleasesPeers

hyper-tps / packs / keet_chat / chat_overlay.tscn

64 lines · tscn ref:
[gd_scene format=3]

[ext_resource type="Script" path="res://packs/keet_chat/chat_overlay.gd" id="1"]

[node name="ChatOverlay" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1")

[node name="ChatPanel" type="PanelContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 10.0
offset_top = -310.0
offset_right = 410.0
offset_bottom = -10.0
grow_vertical = 0

[node name="VBox" type="VBoxContainer" parent="ChatPanel"]
layout_mode = 2
theme_override_constants/separation = 4

[node name="Header" type="HBoxContainer" parent="ChatPanel/VBox"]
layout_mode = 2

[node name="RoomLabel" type="Label" parent="ChatPanel/VBox/Header"]
layout_mode = 2
size_flags_horizontal = 3
text = "Chat"

[node name="CloseBtn" type="Button" parent="ChatPanel/VBox/Header"]
custom_minimum_size = Vector2(28, 0)
layout_mode = 2
text = "X"

[node name="ChatLog" type="RichTextLabel" parent="ChatPanel/VBox"]
layout_mode = 2
size_flags_vertical = 3
custom_minimum_size = Vector2(0, 200)
bbcode_enabled = true
scroll_following = true
text = ""

[node name="InputRow" type="HBoxContainer" parent="ChatPanel/VBox"]
layout_mode = 2

[node name="MessageInput" type="LineEdit" parent="ChatPanel/VBox/InputRow"]
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Type..."

[node name="SendBtn" type="Button" parent="ChatPanel/VBox/InputRow"]
custom_minimum_size = Vector2(60, 0)
layout_mode = 2
text = "Send"