RustHacker/tooltip.tscn
2026-01-18 21:06:22 +11:00

54 lines
1.6 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://sb2wq874p37j"]
[ext_resource type="Script" uid="uid://cbta38dhunndc" path="res://tooltip.gd" id="1_gwequ"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gwequ"]
content_margin_left = 4.0
content_margin_top = 4.0
content_margin_right = 4.0
content_margin_bottom = 4.0
bg_color = Color(0.101960786, 0.101960786, 0.101960786, 0.8784314)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
[node name="Tooltip" type="PanelContainer" node_paths=PackedStringArray("tooltip_label", "exdata_box", "exdata_label")]
z_index = 7
offset_right = 95.0
offset_bottom = 31.0
size_flags_horizontal = 2
size_flags_vertical = 2
mouse_filter = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_gwequ")
script = ExtResource("1_gwequ")
tooltip_label = NodePath("VBoxContainer/Label")
exdata_box = NodePath("VBoxContainer/Extradata")
exdata_label = NodePath("VBoxContainer/Extradata/Label")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Label" type="RichTextLabel" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
bbcode_enabled = true
text = "Item Name"
fit_content = true
scroll_active = false
autowrap_mode = 0
[node name="Extradata" type="VBoxContainer" parent="VBoxContainer"]
visible = false
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/Extradata"]
layout_mode = 2
[node name="Label" type="Label" parent="VBoxContainer/Extradata"]
layout_mode = 2
text = "Extra data does here"