maxgame/game/gui/components/hover_text/hover_text.tscn
2025-07-17 01:49:18 -04:00

29 lines
964 B
Text

[gd_scene load_steps=3 format=3 uid="uid://b71fus0srl1s6"]
[ext_resource type="Theme" uid="uid://djl1xk7jgyvpp" path="res://game/gui/resources/gui_theme.tres" id="1_3qkco"]
[ext_resource type="Script" uid="uid://cctf1a46ej4r" path="res://game/gui/components/hover_text/hover_text_custom.gd" id="2_18lgb"]
[node name="HoverText" type="Control" groups=["popochiu_gui_component"]]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme = ExtResource("1_3qkco")
script = ExtResource("2_18lgb")
[node name="RichTextLabel" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 12.0
grow_horizontal = 2
mouse_filter = 2
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
bbcode_enabled = true
text = "[center]text for hovered objects[/center]"
fit_content = true
scroll_active = false