summaryrefslogtreecommitdiff
path: root/chat_window.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-12-12 02:12:52 +0100
committerDaniel Weipert <git@mail.dweipert.de>2024-12-12 02:12:52 +0100
commita22381eff3bf2286ee27f4d15ddf4c431ea063be (patch)
tree965bdcf12e5e0cf63c88cbba1bd5a52ba474f81f /chat_window.tscn
parente3c185e05823e30eccd7728ceda2ee57cc66fd4d (diff)
next commit
Diffstat (limited to 'chat_window.tscn')
-rw-r--r--chat_window.tscn36
1 files changed, 36 insertions, 0 deletions
diff --git a/chat_window.tscn b/chat_window.tscn
new file mode 100644
index 0000000..54e9b69
--- /dev/null
+++ b/chat_window.tscn
@@ -0,0 +1,36 @@
+[gd_scene load_steps=2 format=3 uid="uid://c8uqw08hxfqlu"]
+
+[ext_resource type="Script" path="res://chat_window.gd" id="1_vovuq"]
+
+[node name="ChatWindow" type="PanelContainer"]
+offset_right = 320.0
+offset_bottom = 175.0
+script = ExtResource("1_vovuq")
+
+[node name="VBoxContainer" type="VBoxContainer" parent="."]
+layout_mode = 2
+
+[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer"]
+layout_mode = 2
+size_flags_vertical = 3
+theme_override_constants/margin_left = 4
+theme_override_constants/margin_top = 4
+theme_override_constants/margin_bottom = 4
+
+[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer/MarginContainer"]
+unique_name_in_owner = true
+layout_mode = 2
+size_flags_vertical = 3
+horizontal_scroll_mode = 0
+vertical_scroll_mode = 2
+
+[node name="ChatWindow" type="VBoxContainer" parent="VBoxContainer/MarginContainer/ScrollContainer"]
+unique_name_in_owner = true
+layout_mode = 2
+
+[node name="LineEdit" type="LineEdit" parent="VBoxContainer"]
+unique_name_in_owner = true
+layout_mode = 2
+placeholder_text = "Send Messages here"
+
+[connection signal="text_submitted" from="VBoxContainer/LineEdit" to="." method="_on_line_edit_text_submitted"]