UIStroke TextButton issue

So when I insert a UIStroke in a TextButton instead of it giving a outline around the button it gives a stroke to the text is there anyway to change this

1 Like

Try inserting the text button into a frame the same size and applying the uistroke to the frame instead.

then it obviously would effect the parent (the frame)

Yes and make your text button background transparency to 1 and you will see the stroke of the parent frame behind it.

You can change the ‘ApplyStrokeMode’ property of UIStroke from ‘Contextual’ to ‘Border’:
image

10 Likes