Skip to main content
Solved

Adding border now adds pixel

  • July 31, 2026
  • 2 replies
  • 29 views

Droh

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

2 replies

Droh
  • Author
  • New Member
  • Answer
  • 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

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