Although I find the new autolayout UI extremely convoluted and overdesigned, the ‘hug/fill parent’ feature is great. However, It would be immensely helpful to have more control over how the elements fill the parent.
Currently, the only option is for the elements to fill the remaining space, but oftentimes, I need certain elements to take up a certain proportion.
Example: I need element-1 to take up 2fr (~66%) and the rest to take up 1fr (~33%). It would be a game-changer if we could use ‘fr’ units.
Framer does this beautifully and it’s vital for efficient, adaptive layout workflows:
I vote for fr units, it would be nice to have around, if Figma can handle percentages, I can’t see the reason why fr can’t be supported. It is a bit of a paradigm shift, but that’s fine
For sure. FR units are amazing. Plus Figma doesn’t even handle percentage (unless I’m missing something). OMG after using Framer’s layout tools, it’s really hard to come back.
Just a quick addition, that i totally get what was mentioned about the great but convoluted methods for working with Auto-layout-like functionality in Figma. it’s great that it’s there don’t get me wrong. But after working with Framer for 5 minutes (where people that are used to “web” find their way intuitively I think), it’s painful to go back to Figma and having to trial/error 20 times on each layout action to get things to line up (and stay lined up).
I think the whole Layout thing is where Sketch stumbled a bit as well, Figma seems to have a challenge with it sometimes also (although less so). For an outsider it’s hard to understand as in… just do what Framer did
@Ben_Smeets Agreed!. Framer has the best design/layout/prototyping/preview tools and functionality by a wide margin. As soon as they introduce type styles (really frustrating and a shame they haven’t yet…), I’m switching over to Framer. They’ll soon be implementing auto-sizing as well.
When using auto layout, I can chose different ways to define the width/height of the elements: “fixed”, “hug” content and “fill container”. In many cases none of these matches how the design should be implemented. I want elements to have a relative width of e.g. 2 of 12 columns or 30 %. By offering to add a relative value or working with columns I could move one step closer to the actual implemented result of a responsive design
I think you can achieve most of what you want by using the layout grid feature.
Maybe you’ll find the video “Utilizing Constraints & Layout Grids” in Figma’s YouTube channel helpful.
Hi, I am trying to create responsive columns layout with autolayout feature. It is working with equal width but not working with a different width. I am able to set fill-container for one but not the other column. I assume, we don’t have full flexbox, with max-width or %. or am i missing something here?
With the new update, layout is slightly changed and i also tried using two different frames with each sizes but that gives a similar result with only one column being responsive.
can’t upload the screenshot, as it is restricted for new user.