AnimaApp / Auto-Layout

Auto Layout for Sketch
https://animaapp.github.io/Auto-Layout
856 stars 40 forks source link

Right alignment for stacks. #98

Open kamaki opened 6 years ago

kamaki commented 6 years ago

I have some text and an icon to the right of the text in a horizontal stack - both of these are in a symbol. What I am after is if I hide the the icon on the right the text moves to the far right and if I show it the icon is on the far right with the text back on the left? As far as I can see stacks align to the left and in vertical to the top? How can I get around this?

chriswiesner commented 5 years ago

+1

this is kind of correlating to this issue: https://github.com/AnimaApp/Auto-Layout/issues/67 if the stack would properly "collapse" in size, you can pin it to the right side to achieve the wanted behaviour.