feat: styled clue tooltip

This commit is contained in:
Sara Gerretsen 2025-11-03 18:05:10 +01:00
parent 4be5e2b064
commit 84f5ec88be

View file

@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://btcmnw6q6g0h0"]
[gd_scene load_steps=5 format=3 uid="uid://btcmnw6q6g0h0"]
[sub_resource type="QuadMesh" id="QuadMesh_87mh6"]
@ -7,6 +7,18 @@
[sub_resource type="RectangleShape2D" id="RectangleShape2D_usqe2"]
size = Vector2(166, 172)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wl1hl"]
content_margin_left = 0.0
content_margin_top = 0.0
content_margin_right = 0.0
content_margin_bottom = 0.0
bg_color = Color(18.892157, 18.892157, 18.892157, 1)
corner_radius_top_left = 1
corner_radius_top_right = 1
corner_radius_bottom_right = 1
corner_radius_bottom_left = 1
corner_detail = 1
[node name="PinnedPhoto" type="PinnedPhoto"]
input_pickable = true
sync_to_physics = false
@ -27,9 +39,11 @@ offset_left = -252.0
offset_top = -12.0
offset_right = -88.0
offset_bottom = 157.0
theme_override_styles/panel = SubResource("StyleBoxFlat_wl1hl")
[node name="HoverLabel" type="RichTextLabel" parent="PanelContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_colors/default_color = Color(0, 0, 0, 1)
text = "PLACEHOLDER TOOLTIP"
fit_content = true