Skip to main content
Joe_Pendlebury
September 22, 2021

Preventing Resizing to Decimal Pixels

  • September 22, 2021
  • 32 replies
  • 17074 views

I love Figma and have enjoyed used it since the very beginning. It has come on leaps and bounds since since its early days.

However, one pain point that continues to frustrate me is the decimal resizing issue, as detailed here almost exactly four years ago - https://spectrum.chat/figma/general/how-to-prevent-decimal-pixels~a6007961-7415-4c1e-9430-7e420491c446

Despite all the other fantastic enhancements in the platform, it is disappointing that this core issue is still present.

Even in the latest Playground file (produced by your own team) outlining the latest ‘Copy & Paste’ advancements, you can see the problem firsthand, as per the screenshot below.

FAO @Figma & @Figma_Support. Please can I ask that you look at this as a matter of priority. I am sure I am not the only one wasting crucial time, painfully and manually, checking and resizing everything back to integer values.

Thank you.

32 replies

Benjamin_Berger
May 11, 2023

Would be great to have an option to round all values in auto-layout. Managing decimals value for layers dimensions and positions is particularly painful to work with both for designers and during development handoff.

Lize_Smith
May 17, 2023

I have the same issue. I just started a new design and somehow these decimals snuck in. Now I have to go and check each element.
Sketch has a setting that avoids this. Why can’t FIgma?

May 18, 2023

Select the Object and Click Preferences-> Snap to Pixel grid. It worked for me 🙂

MattBraun
New Participant
May 24, 2023

One of the worst bugs!! I think some people now think that they can actually design in fractional pixels! So sad and annoying!! Even with all that money, they’re doing dumb shit instead of fixing the core issues or buying out some plugins that fix things like this.

July 12, 2023

so, 2023, new figma user, is there a way to turn off non-integer pixels yet?

August 12, 2023

So, if you have checkmark on Snap to pixel Grid ( Ctrl+Shift+´) all elements starts build without decimal pixels.

IraX
Power Member
August 12, 2023

For those referring to “Snap to pixel grid”, that is not the issue, although it is tangentially related. The original post is talking about resizing, which does not yield integers unless you’re resizing to an equal ratio. I also would love a change in that behavior so resizing will automatically round up or down to the whole value (or provide a preference).

Funny enough, auto layout will account for this with its spacing, but the container’s width/height will then be a decimal value, which then affects the x/y position of the next element.

“Snap to pixel grid”, which I always have enabled, lets you place and draw elements on and at whole values.

Fortmindz
September 27, 2023

Hey There’s actually a way. Just go to the Figma Icon, click on “Preferences” and then select “Snap Pixel Grid”. It worked for me.

Rick_Carruth
September 29, 2023

Yes, please! And Snap to Pixel Grid is not the answer. I use this religiously and I still continue to find decimals. It’s super annoying to think everything is fine, notice a decimal, and start investigating to only find more and more. This is my biggest Figma frustration due to it being a regular occurrence. Can we just round up or down if it senses decimals? Something?

Fabiano_Peixinho
November 8, 2023

Hi guys!

I’ve realized this happen when I use mouse for moving objects. When I use keyboard arrow, not happen.