How do you change the corner's size on a button?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Parent


So I got a play button:
Play button

And I want the corners to be bigger…
It uses a theme with a StyleBoxTexture, with a margin of 4 on each side.

Is there any way I could make the corners bigger on the theme?
And if not, on the button?

:bust_in_silhouette: Reply From: monsterousoperandi

Hard to tell with your description but you might try using the Icon field to store your texture instead of the style.
You can insert an image or texture into a button using the icon field. Then apply a
StyleBoxFlat to it. Set BG Color’s Alpha to 0 then in the style you can set the corner radius However you like.

:bust_in_silhouette: Reply From: rakkarage

you can use a StyleBoxTexture to treat it like a ninePatch and keep whatever edge u like