Skip to main content
Question

How can i assign a new node to "align left"?

  • February 7, 2022
  • 1 reply
  • 494 views

PeterR

The api appears to only have auto-layout alignment. if I want to make a new line align to each side of a rect - is there a way to do this without doing the math?

1 reply

Sheep_Wizard
node.counterAxisAlignItems = "CENTER";
node.projectStatus.primaryAxisAlignItems = "MIN";
figma.com

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings