Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | dezekeerjoran | |
Old Version | Published before Godot 3 was released. |
how to set the size of a label in code?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | dezekeerjoran | |
Old Version | Published before Godot 3 was released. |
how to set the size of a label in code?
Reply From: | volzhs |
With BitmapFont
, you can’t.
With DynamicFont
, you can do it by get_node("Label").get_font("font").set_size(10)