GodotProjects/Sprout/addons/dialogic/Editor/Settings/HintLabelStylingScript.gd
2023-01-03 16:54:53 -07:00

9 lines
347 B
GDScript

@tool
extends Label
# Called when the node enters the scene tree for the first time.
func _ready():
label_settings = LabelSettings.new()
label_settings.font = get_theme_font("doc_italic", "EditorFonts")
label_settings.font_size = get_theme_font_size('font_size', 'Label')
label_settings.font_color = get_theme_color("accent_color", "Editor")