0 votes

I want to set the top, bottom, left, right and set text with strings, colors and fonts. Where are those listed?

I was asking where are these documented?- otherwise you can tell how set with the script the borders on the Stylebox. Specify the button text and set the button text's color, size and font.

Godot version 3.3.4
in Engine by (54 points)
edited by

Your question is extremely ambiguous can you please rephrase

1 Answer

+1 vote

https://docs.godotengine.org/en/stable/classes/class_button.html#button

You should be able to set every property you can set in the editor through code as well.

by (3,710 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.