Center text within auto-layout component

Hi there,

I want to create an adaptive button with centered text. It needs to have a minimum width.

There’s no minimum width option so I created a hack by placing a 0px stroke within the component.

The issue I’m having I can’t in the world figure out how to center the text.

Screenshot: centered-label — ImgBB

Any ideas?

Thank you

Set alignment to center
image

1 Like

There it is. Thank you!!!

1 Like