Skip to main content
Droh
New Member
Jul 31, 2026 5:01 PM UTC
Solved

Adding border now adds pixel

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...

    Droh
    DrohSolution
    New Member
    Jul 31, 2026 6:50 PM UTC

    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
    DrohAuthorSolution
    New Member
    Jul 31, 2026 6:50 PM UTC

    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
    Jul 31, 2026 7:03 PM UTC

    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
    Aug 19, 2026 9:40 AM UTC

    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
    Aug 26, 2026 6:42 AM UTC

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