| Attention | Topic was automatically imported from the old Question2Answer platform. | |
| Asked By | Mavitaka |
Hello,
I try many ways to inscrease size of the text inside the button, but they still do not work.
Could you please help?
Thank you so much in advance for your help.
Best regards.
for i in range(1, 101):
var button = Button.new()
button.text = str(i)
button.flat = true
button.modulate = Color(randi_range(50, 150), randi_range(50, 150), randi_range(50, 150), 255) / 255.0;
button.size = Vector2(25, 25)
add_child(button)