[gd_scene load_steps=4 format=3] [ext_resource type="Script" uid="uid://b4aorojcbwkmb" path="res://scenes/ui/ChatBubble.gd" id="1_script"] [ext_resource type="Theme" path="res://assets/ui/world_text_theme.tres" id="2_theme"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_bubble_modern"] bg_color = Color(1, 1, 1, 0.9) corner_radius_top_left = 5 corner_radius_top_right = 5 corner_radius_bottom_right = 5 corner_radius_bottom_left = 5 content_margin_left = 10.0 content_margin_top = 6.0 content_margin_right = 10.0 content_margin_bottom = 6.0 shadow_color = Color(0, 0, 0, 0.2) shadow_size = 2 [node name="ChatBubble" type="Control"] layout_mode = 3 anchors_preset = 0 script = ExtResource("1_script") theme = ExtResource("2_theme") [node name="PanelContainer" type="PanelContainer" parent="."] layout_mode = 1 anchors_preset = 7 anchor_left = 0.5 anchor_top = 1.0 anchor_right = 0.5 anchor_bottom = 1.0 offset_left = -120.0 offset_top = -86.0 offset_right = 120.0 offset_bottom = -26.0 grow_horizontal = 2 grow_vertical = 0 theme_override_styles/panel = SubResource("StyleBoxFlat_bubble_modern") [node name="Label" type="Label" parent="PanelContainer"] layout_mode = 2 theme_override_colors/font_color = Color(0.1, 0.1, 0.1, 1) theme_override_font_sizes/font_size = 12 text = "..." horizontal_alignment = 1 vertical_alignment = 1 autowrap_mode = 3 custom_minimum_size = Vector2(220, 0)