This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Joseph Brick
Posted Jan 09 - Read on Facebook

Hi! I notice that the smart sizing that you specify in Design (aligning right on resize, etc.) doesn't persist on layers created using layer.copy(). Is it supposed to?

1 Comments

Jonas Treub

The pinning API is not yet public. If you want to use it you can check out the source on Github.

Example:

layer.constraintValues = top: 20, right: 10, bottom: null, left: null
layer.layout()

Read the entire post on Facebook