r/FigmaDesign • u/Active-Pound1624 UI/UX Designer • Oct 29 '26
Discussion Why does Figma force us to manually exclude inside strokes from Auto Layout now?
Is anyone else frustrated with the new Auto Layout behavior for inside strokes?
Previously, adding an inside stroke didn't affect the overall size of an Auto Layout frame. Now, strokes are included in the layout calculation by default, which means Hug contents buttons end up being larger just because they have a border.
This is especially annoying when designing buttons, chips, tags, and other UI components that need consistent dimensions.
Yes, I know there's an "Exclude" option.
But why do I have to manually change it every single time?
I work on UI designs daily, and constantly switching this setting feels like an unnecessary extra step for something that worked perfectly fine before.
At the very least, Figma should let us set "Exclude" as the default, either globally or per file.
Am I missing a setting somewhere, or is everyone just dealing with this?

66
u/scrndude Oct 29 '26
It’s because now it works like the CSS border property where borders count towards width
15
u/LizWagen UI/UX Designer Oct 29 '26
CSS has two different ways of handling borders:
- border-box – Adding a border does not affect the size of the element. Used to be default.
- content-box – Adding a border increases the size of the element. This is now default.
Figma updated to mimic CSS defaults by default. As a designer who manages dev handoff, I appreciate that Figma is starting to pay attention to what devs actually need (and devs looooove it haha).
However, I would prefer there be a setting for the file default. For devs who use border-box, it’s annoying to do it for each auto layout.
And unrelated note, I wish Figma would add support for outlines!
5
u/_Prateek_Hota_ Oct 29 '26
I made a similar post earlier. I believe this is the same issue you are facing. https://www.reddit.com/r/FigmaDesign/s/PB3ugDxZBq
Figma recently changed auto layout properties to be more inclined towards CSS properties where stroke widths are also counted by default. Centre and outside strokes aren't taken into consideration even when INCLUDED. https://help.figma.com/hc/en-us/articles/42031586813719-Use-auto-layout-with-CSS-Flexbox-in-mind
5
u/pwnies Former Figma Employee 29d ago
This was one of the hardest things about being a product manager at Figma. Often times there's no "correct" answer to a problem - you can either align with CSS (breaking user expectation) or align with how people expect something to work (breaking handoff).
This isn't the only one of these in CSS either - there are so many things about the spec that don't work like how one might expect, leading to quirky behavior. Percent width/height is another one of them, which is why I would often shoot down attempts to ship it while I was there.
I don't envy whoever had to make this call.
9
u/Ansee Oct 29 '26
It's really annoying. I was mid project when this was implemented. And suddenly all my strokes were off.
There absolutely needs to be a global setting available especially since the behavior changed from before and it's really frustrating.
Also a global setting for first/last on top for autolayout would be helpful too.
1
u/Acceptable_Mouse_252 Oct 29 '26
what helped me: set exclude once on the main components (button, chip, tag) instead of per frame, instances follow it. the annoying part is only the one-off frames, but yeah a per-file default would fix all of it
2
u/Federal_Lawyer3540 Oct 29 '26
Moi aussi j'ai remarqué cela et c'est vraiment pénible
2
u/thicckar Oct 29 '26
I thought I was tripping
1
u/MagicianPuzzleheaded 29d ago
I hate thissssss
1
u/negsplit_pgh 28d ago
Treat the stroke choice as part of the component rules. Decide whether the border should affect the layout box, apply that consistently, and document exceptions for chips or buttons. For older files, test the setting on a duplicate before changing the shared library.