fix: adjusted margin for tooltip box

This commit is contained in:
Sara Gerretsen 2025-11-04 22:53:31 +01:00
parent c6ed4fe623
commit 1b7ca58e46

View file

@ -5,7 +5,7 @@
[sub_resource type="ImageTexture" id="ImageTexture_usqe2"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_usqe2"]
size = Vector2(119, 136)
size = Vector2(103, 148)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_wl1hl"]
content_margin_left = 0.0
@ -20,6 +20,10 @@ corner_radius_bottom_left = 1
corner_detail = 1
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ivb85"]
content_margin_left = 10.0
content_margin_top = 10.0
content_margin_right = 10.0
content_margin_bottom = 10.0
bg_color = Color(0.46813786, 0.3607661, 0.7006275, 1)
border_width_left = 2
border_width_top = 2
@ -33,21 +37,21 @@ input_pickable = true
sync_to_physics = false
[node name="MeshInstance2D" type="MeshInstance2D" parent="."]
position = Vector2(0, 73.49999)
scale = Vector2(132, -149.1111)
position = Vector2(0, 78.47222)
scale = Vector2(117.99999, -159.05556)
mesh = SubResource("QuadMesh_87mh6")
texture = SubResource("ImageTexture_usqe2")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(-0.5, 73)
position = Vector2(-0.5, 79)
shape = SubResource("RectangleShape2D_usqe2")
[node name="PanelContainer" type="PanelContainer" parent="."]
z_index = 1
offset_left = -217.0
offset_top = 6.0
offset_right = -71.0
offset_bottom = 142.0
offset_left = -215.0
offset_top = 14.0
offset_right = -69.0
offset_bottom = 150.0
theme_override_styles/panel = SubResource("StyleBoxFlat_wl1hl")
[node name="HoverLabel" type="RichTextLabel" parent="PanelContainer"]