diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-01-05 16:54:36 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-01-05 16:54:36 +0100 |
commit | 35b0f811f23f029110373798b19d9d0895d907f0 (patch) | |
tree | 2e4906a992c2569fa0f89dbe0f079010a734cc41 /ui/chat_window.tscn | |
parent | e08a29e73ea4f7e6d78e8e7f5a6e7033dbc1f542 (diff) |
next commit
Diffstat (limited to 'ui/chat_window.tscn')
-rw-r--r-- | ui/chat_window.tscn | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/ui/chat_window.tscn b/ui/chat_window.tscn index e67d360..b430fb8 100644 --- a/ui/chat_window.tscn +++ b/ui/chat_window.tscn @@ -1,6 +1,8 @@ -[gd_scene load_steps=3 format=3 uid="uid://c8uqw08hxfqlu"] +[gd_scene load_steps=5 format=3 uid="uid://c8uqw08hxfqlu"] [ext_resource type="Script" uid="uid://cy5bwkc4gokw1" path="res://ui/chat_window.gd" id="1_vovuq"] +[ext_resource type="PackedScene" uid="uid://cjcm2mai50thr" path="res://ui/bmp_texture_button.tscn" id="2_2x3wj"] +[ext_resource type="Texture2D" uid="uid://dqq3mtjcrwqnp" path="res://client_data/data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/basic_interface/sys_base_off.bmp" id="3_smgio"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ku06j"] bg_color = Color(0.133333, 0.133333, 0.133333, 0.784314) @@ -37,9 +39,23 @@ layout_mode = 2 layout_mode = 2 text = "Label" -[node name="LineEdit" type="LineEdit" parent="VBoxContainer"] +[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"] +layout_mode = 2 + +[node name="ToPlayer" type="LineEdit" parent="VBoxContainer/HBoxContainer"] unique_name_in_owner = true layout_mode = 2 + +[node name="LineEdit" type="LineEdit" parent="VBoxContainer/HBoxContainer"] +unique_name_in_owner = true +layout_mode = 2 +size_flags_horizontal = 3 placeholder_text = "Send Messages here" -[connection signal="text_submitted" from="VBoxContainer/LineEdit" to="." method="_on_line_edit_text_submitted"] +[node name="Handle" parent="VBoxContainer/HBoxContainer" instance=ExtResource("2_2x3wj")] +layout_mode = 2 +texture_normal = ExtResource("3_smgio") +stretch_mode = 5 + +[connection signal="text_submitted" from="VBoxContainer/HBoxContainer/LineEdit" to="." method="_on_line_edit_text_submitted"] +[connection signal="gui_input" from="VBoxContainer/HBoxContainer/Handle" to="." method="_on_handle_gui_input"] |