Auto layout from right to left

Dear all,

Currently I am working on button component.
When I am changing button label auto layout moves button from left to right but I need a little bit different direction: from right to left.
Do you now any ways how can I do this?

Would be grateful for any inputs :blush:

Put the button in a frame and set the necessary constraints and alignment.

Todo-App-Community-Figma-Chrome

This might help.

1 Like

Hi, thanks for the explanation to the community. But for me, the constraints do not appear at all when I add Auto layout…
Maybe you know why?

3 Likes

Open the Figma file above (from tank666) and you can replicate the way the button works. I confirm this works for me.