Skip to main content
Droh
New Member
July 31, 2026
Solved

Adding border now adds pixel

  • July 31, 2026
  • 4 replies
  • 364 views

Before the figma update, when creating an outlined button (with auto-layout / stroke position: Inside), the padding was the space from the text to the box. After the figma update, the padding is now from text to the border. The border counts as a separate +1 per side. This means when the user show/hide border, you see the component change in size. 

 

This means that the fill button vs outline button now needs to have different paddings, OR we need to also add stroke to the fill button so the size is consistent.

 

Please verify if this is a bug or a new feature...

    Best answer by Droh

    Nevermind, I learned that this is a new feature. Found a fix for it:

     

    Go to Auto layout settings, and select the dropdown for “Inside stroke” to be “Excluded”.

    4 replies

    Droh
    DrohAuthorAnswer
    New Member
    July 31, 2026

    Nevermind, I learned that this is a new feature. Found a fix for it:

     

    Go to Auto layout settings, and select the dropdown for “Inside stroke” to be “Excluded”.

    Jaycee Lewis
    Figmate
    Figmate
    July 31, 2026

    Ah, you beat me to it 😂 I was just about to ask if you’d seen the Excluded dropdown. Thanks for taking the time to come back and share the answer 🙌 — Jaycee

    Kuba2
    New Member
    August 19, 2026

    Does this mean that one has to change it EVERYTIME they add auto-layout? That’s so bad. Is there any global settings to change that? 

    Leon048798
    New Member
    August 26, 2026

    That’s so so so so bad!!!!!!!