64 lines
2 KiB
Plaintext
64 lines
2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://wrmllr7715x4"]
|
|
|
|
[ext_resource type="Script" path="res://UI/MessageZone/MessageZone.gd" id="1_mdii2"]
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_x6d11"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gik3d"]
|
|
bg_color = Color(0.407843, 0.694118, 0.870588, 0.627451)
|
|
|
|
[node name="MessageZone" type="PanelContainer"]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = 450.0
|
|
offset_right = -424.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxEmpty_x6d11")
|
|
script = ExtResource("1_mdii2")
|
|
|
|
[node name="VSplitContainer" type="VSplitContainer" parent="."]
|
|
layout_mode = 2
|
|
mouse_filter = 2
|
|
dragger_visibility = 2
|
|
|
|
[node name="MessagePanel" type="PanelContainer" parent="VSplitContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
mouse_filter = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_gik3d")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="VSplitContainer/MessagePanel"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
mouse_filter = 2
|
|
theme_override_constants/margin_left = 4
|
|
|
|
[node name="MessagesContainer" type="ScrollContainer" parent="VSplitContainer/MessagePanel/MarginContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
mouse_filter = 2
|
|
horizontal_scroll_mode = 0
|
|
|
|
[node name="Messages" type="VBoxContainer" parent="VSplitContainer/MessagePanel/MarginContainer/MessagesContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
mouse_filter = 2
|
|
theme_override_constants/separation = 0
|
|
|
|
[node name="ChatInput" type="LineEdit" parent="VSplitContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
placeholder_text = "Speak here"
|
|
deselect_on_focus_loss_enabled = false
|
|
caret_blink = true
|
|
|
|
[connection signal="text_submitted" from="VSplitContainer/ChatInput" to="." method="_on_chat_input_text_submitted"]
|