Godot - Changing the Font Size of a RichTextLabel
This code example shows how to change the default font size in a RichTextLabel using GDScript.
This method is not available for the Label node.
You can change the default font size in RichTextLabel by specifying the `normal_font_size` property with `add_theme_font_size_override()
`.
var label = RichTextLabel.new()
add_child(label)
label.global_position = Vector2(0, 0)
label.size = Vector2(200,200)
label.text = "Change Font Size"
# Change the default font size in RichTextLabel
label.add_theme_font_size_override("normal_font_size", 50)