Skip to main content
Carson
January 29, 2021
Question

Defaults for Auto Layout Resizing

Been using auto layout a LOT recently and it’s absolutely game changing. My only gripe is that resizing defaults to fixed width, when 90% of the time I’m using “fill container”. I could see an argument both ways, but curious if others feel the same way.

A solution, although cumbersome, would be to allow users to set a default themselves for auto layout.

image

This topic has been closed for replies.

14 replies

AlicePackard
Power Member
December 14, 2022

until/unless figma puts out a release that addresses this, I wanted to recommend the tip that @Ana_Boyer shared in a recent video about auto layout tips:

hold option and double click on a nested frame’s edge to fill its parent container (which must have auto layout applied).

Ana demos this at 1:42 in the video I linked above! Good trick if you’re into direct manipulation on the canvas over fiddling with inputs in the design panel.

I write about building excellent Figma components on my blog: https://alicepackarddesign.com/blog
Dan_W
June 23, 2023

This needs to be a setting at the very least.

My personal experience is that almost every View I design, the components are going to stretch the full width of the parent, minus padding or the room taken by other sibling components. This does not apply to height.

Auto layout is great because it mimics development, and it forces consistency. Everyone should be using it imo, and clicking to set ‘fill container’ every time is way too time consuming for how important it is.

  • A Setting that influences the default behaviour of Auto Layout. You can set default to fill container, fixed, etc, for any supporting element you place.
  • Allow elements to still be ‘Fill container’, even when they don’t have an auto-layout parent. The fill container property is just not active until it is put inside an auto-layout component. This prevents a component from switching to fixed when moved, and forcing the user to reselect fill container
  • At the very least, a keybind that allows you to set fill container quickly.
Leonardo9
July 5, 2023

For the love of Dog, yes. If I add up the time I waste clicking through the right object that decided to go to ‘fixed’ on its own accord (even tho the parent component is on Hug / Filled) I could go on holidays during that time. Please, Figma, life is short. Give me a “set all children to hug/fixed/fill” function or something.

Supralog
November 16, 2023

It is the same problem for me.