Apply a border and also a UICorner to a TextButton

Hi,

I am trying to make a border like the one shown in the picture below.

I however cannot do this as I am using a UIGradient to make the gradient button also shown in the picture.
Any way I can do this?

image

4 Likes

image

So far, this is what I have.

1 Like

You can recreate this effect by having a bigger frame behind the text-button, with the same UICorner properties as the text-button, making it look like a border. Since the border is a frame, you can apply a UIGradient.

6 Likes

I’ll give this a go.

I’ll update you if this works.

This works perfectly, thanks!

/////

No problem! I wish you luck with whatever project you’re working on :+1: