Skip to main content
Sean_Sands
March 16, 2021

Define default padding for Auto Layout (or set to 0)

  • March 16, 2021
  • 77 replies
  • 17337 views
  1. Describe the problem your experiencing and how your idea helps solve this
    When you create an autolayout frame, it always defaults to 10px. Many design systems call for an 8px grid and in many cases, users don’t want ANY padding especially where edge-to-edge designs are concerned.

  2. Ask questions to bring the community into the conversation
    What are everyone’s thoughts about the following solutions?:

  • Default autolayout padding based on the big nudge amount in your settings
  • Allow for tokenization of padding/margin grids and offer up autolayout parameters based upon those tokens
  • Allow users to override the padding to 0px at the creation of the autolayout frame by using an alternative key command like ctrl+shift+a (command on mac)

77 replies

March 29, 2023

So frustrating to have multiple extra steps when adding an auto layout frame. Having to manually remove or change 4 different parameters.

I understand the intent is to teach new users how auto layout works, but surely there is a better way that doesn’t impact the workflow of people who know how to use the feature!

dennsi
Active Member
March 29, 2023

You mean the default values of 8px right? Yes this is really time consuming and frustrating having to remove those manually multiple times a day. It actually should default to 0.

April 5, 2023

+1 for default padding.

Lucian_Chung
New Member
April 12, 2023

My excitement from learning the shortcut Shift + a was short-lived when I realized Figma automatically added 8px padding to my frames created this way. If the goal of adding the default 8px padding is to demonstrate how auto layout works for newer users, then it would be great to allow users to adjust this default padding, as a lot of us end up spending hours a day in the product.

For now, I’m selecting at least 2 objects before applying auto layout via the shortcut, which seems to give me 0px padding.

Amin_Wejebe
April 14, 2023

+1 for 0 padding

Przemyslaw_Manuszak_GFT_Techno
May 12, 2023

+1000 for 0 padding, I alwyas need to remove the stupid 8px padding in both vertical and horitonal inputs in Figma panel and it is annoying AF

Jing_Hu
May 16, 2023

Fastest way I found to apply auto layout with 0 paddings: 🙂
Select object → option+cmd+G → shift+A

Tyson_Reeder
New Participant
May 23, 2023

Didn’t read the comments above, but defaulting to 0 would be a huge timesaver. Rarely do I want to use my nudge amount. Going and having to manually 0 out the padding is time consuming and sometimes I forget an item and run into not knowing why something has added space when I didn’t want it. I see why you add the 10 to show the item changed, but maybe there is a way to show the transition with color or something

Tyson_Reeder
New Participant
May 23, 2023

Faster way. Just Shift A will add auto layout without a group. It blew my mind when I learned that.

Jing_Hu
May 23, 2023

Actually, even faster: Select object → cmd+G → shift+A 😂