Up/down icon is outside of Spinbox Border

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

I have created a custom theme for a spinbox in my game. At this time, it looks like this:

How do I get the icon inside of the border? Thanks.

:bust_in_silhouette: Reply From: Calinou

Try increasing the StyleBox’s right expand margin to a value like 10 or 20 (not to be confused with the content margin). This will make the StyleBox expand past the icon.