tooltips and ui
This commit was merged in pull request #42.
This commit is contained in:
36
core/tooltips/tooltip.tscn
Normal file
36
core/tooltips/tooltip.tscn
Normal file
@@ -0,0 +1,36 @@
|
||||
[gd_scene format=3 uid="uid://blh7egp5ge16m"]
|
||||
|
||||
[ext_resource type="Theme" uid="uid://cwqdjc6t31a8i" path="res://core/font/tooltip_theme.tres" id="1_cumfd"]
|
||||
[ext_resource type="Script" uid="uid://dp1j2sd8ciohv" path="res://core/tooltips/tooltip.gd" id="1_eq2yf"]
|
||||
[ext_resource type="Texture2D" uid="uid://denpwcxau18ci" path="res://core/tooltips/assets/tooltip_SX.png" id="2_eq2yf"]
|
||||
|
||||
[node name="Tooltip" type="HBoxContainer" unique_id=1513886073]
|
||||
anchors_preset = -1
|
||||
anchor_right = 0.1140625
|
||||
anchor_bottom = 0.037037037
|
||||
size_flags_vertical = 4
|
||||
alignment = 1
|
||||
script = ExtResource("1_eq2yf")
|
||||
image = ExtResource("2_eq2yf")
|
||||
text = "tooltip"
|
||||
metadata/_edit_use_anchors_ = true
|
||||
|
||||
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=1680323892]
|
||||
layout_mode = 2
|
||||
theme_override_constants/margin_top = 8
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer" unique_id=1224956226]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
theme = ExtResource("1_cumfd")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "tooltip"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="Texture" type="TextureRect" parent="." unique_id=32912840]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
texture = ExtResource("2_eq2yf")
|
||||
expand_mode = 2
|
||||
stretch_mode = 5
|
||||
Reference in New Issue
Block a user