diff options
author | nokoe <nokoe@mailbox.org> | 2024-10-03 16:43:37 +0200 |
---|---|---|
committer | nokoe <nokoe@mailbox.org> | 2024-10-03 16:43:37 +0200 |
commit | 43390237a6dacaeff59826c1f6951afa13ab2d7f (patch) | |
tree | ab3dd6022596edbee3f5706b657311e22b6f3fd2 /client/menu/communicate/chat/chat_message.tscn | |
parent | 0c789a627e1f0357c2e14523782a253c80c50560 (diff) | |
download | hurrycurry-43390237a6dacaeff59826c1f6951afa13ab2d7f.tar hurrycurry-43390237a6dacaeff59826c1f6951afa13ab2d7f.tar.bz2 hurrycurry-43390237a6dacaeff59826c1f6951afa13ab2d7f.tar.zst |
chat messages show user color; align vertically; fixes #207
Diffstat (limited to 'client/menu/communicate/chat/chat_message.tscn')
-rw-r--r-- | client/menu/communicate/chat/chat_message.tscn | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/client/menu/communicate/chat/chat_message.tscn b/client/menu/communicate/chat/chat_message.tscn index a095c42e..06a9311e 100644 --- a/client/menu/communicate/chat/chat_message.tscn +++ b/client/menu/communicate/chat/chat_message.tscn @@ -6,9 +6,9 @@ [sub_resource type="FontVariation" id="FontVariation_jfhbh"] variation_embolden = 1.3 -[node name="ChatMessage" type="HBoxContainer"] +[node name="ChatMessage" type="VBoxContainer"] offset_right = 72.0 -offset_bottom = 165.0 +offset_bottom = 192.0 theme = ExtResource("1_rx6vg") script = ExtResource("1_ey0qp") @@ -17,14 +17,21 @@ layout_mode = 2 theme_override_fonts/font = SubResource("FontVariation_jfhbh") text = "<Name>" -[node name="Message" type="Label" parent="."] +[node name="FadeAway" type="Timer" parent="."] +one_shot = true + +[node name="MarginContainer" type="MarginContainer" parent="."] +layout_mode = 2 +theme_override_constants/margin_left = 10 +theme_override_constants/margin_top = 0 +theme_override_constants/margin_right = 0 +theme_override_constants/margin_bottom = 5 + +[node name="Message" type="Label" parent="MarginContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "Message" vertical_alignment = 1 autowrap_mode = 3 -[node name="FadeAway" type="Timer" parent="."] -one_shot = true - [connection signal="timeout" from="FadeAway" to="." method="_on_fade_away_timeout"] |