Not to over explain, I basically need to create an unknown number of Labels, with unknown text. All fine and dandy - works. I can't seem to find how to change their font size though.
Here's what I have:
for string in string_list:
var new_label = Label.new()
new_label.text = string
new_label.set("custom_fonts/font", load(FONTPATH))
new_label.set("custom_fonts/settings/size", FONTSIZE)
hbox.add_child(new_label)
The load font line I found on the QA forums, and extrapolated from that how to set up the set size line. They don't seem to work though and Godot isn't throwing any errors either. Doing this at runtime - if it makes any difference.
Searched the official docs, and QA. Fairly new to Godot so I might be looking in the wrong place.