Skip to main content
Solved

Enable auto layout on multiple frames at once?


Svarry

I have about 100 frames that need to have AL enabled on them. How can I enable it on multiple at once instead of doing it one by one?

Best answer by Gleb

This plugin can do it:

Figma
View original
This topic has been closed for comments

Brian_Saunders

I don’t know if there’s a way to do this in the regular UI but I installed the Scripter plugin and wrote a quick script to apply auto layout to multiple selected frames at once without grouping them. I don’t know much programming but this is what I wrote, and you can just change it to VERTICAL if that’s what you want. It seems to work, though probably not the answer you were looking for.

for (let n of selection()) {
	if (isFrame(n)) {
		n.layoutMode = "HORIZONTAL"
	}


Gleb
  • New Participant
  • April 26, 2021

This plugin can do it:

Figma

Svarry
  • April 26, 2021

Thank you Gleb and Brian!


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