From 84f5ec88be85a6af71f045dc5b1d2b26a7a7279a Mon Sep 17 00:00:00 2001 From: Sara Date: Mon, 3 Nov 2025 18:05:10 +0100 Subject: [PATCH] feat: styled clue tooltip --- flatscreen-project/objects/pinned_photo.tscn | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/flatscreen-project/objects/pinned_photo.tscn b/flatscreen-project/objects/pinned_photo.tscn index 9a679e77..79e7be0a 100644 --- a/flatscreen-project/objects/pinned_photo.tscn +++ b/flatscreen-project/objects/pinned_photo.tscn @@ -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