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

What is Framer? Join the Community
Return to index
Amy Casillas
Posted Jul 26 - Read on Facebook

Is there a way to apply borderWidth per side in code? I can do it in Design view, but when I go to change it for a particular side, it doesn't change.

5 Comments

Davo Galavotti

Try this: myLayer.borderLeftWidth = 5

Amy Casillas

I ended up doing this in code. There seemed to be no way to completely remove a border from one side if it was added in Design view. If I added it in Code via layer style, it worked as expected.

Derek Nguyen

have you tried `layer.borderWidth.top = ...`? it works for me to edit borders of layer created in ~Code~ Design tab

Andrew Nalband

Derek Nguyen great tip - definitely works

Read the entire post on Facebook