Preventing Resizing to Decimal Pixels… 5 Years Later.....🔥🔥

I re-used the title of an old post and simply changed the 4 to 5 years. No one replied to @Joe_Pendlebury’s question, so I am raising it again. I’m confused as to why Figma still hasn’t addressed this issue.

I laid out my padding on numerous complex screens only to find later that all of the shapes suddenly changed to decimal pixels (I have no idea how or when it happened). Now, I have to painstakingly check each shape all over again - adding hours of extra work and putting an extremely tight deadline in real jeopardy.

Two questions:

  1. @Figma_Support - Will this issue ever be prioritized and addressed? If not, why?
  2. Has anyone found a workaround for this issue? a) My preferences were already set to ‘Snap to Pixel Grid’ so that doesn’t help. b) Selecting ‘Round to Pixel’ only removes fractions from the coordinates, not the shape itself.

Any help here would be most appreciated.
Many Thanks. :pray:

12 Likes

PS - I’m afraid to adjust my padding all over, simply to have them randomly go back to decimal pixels again.

UH YEA!!! This is really annoying! What is the word from FIGMA on this. Why the radio silence!?

2 Likes

@Kyle_Eberle1 @Kleine_Tricia
Hey guys. I recently encountered a similar scenario.

How i fixed mine is by looking for any object or element in my design that seems to carry a decimal point in its width and height, delete the decimal points off and the spacing and paddings will appear in whole numbers when i checked it again.

Might wanna try it out. works for me

Thanks for your response DesignBro. I’m definitely able to go into each element and delete the decimals but when you’ve created hundreds of screens and didn’t realize one element on in those screens somehow ended up with a decimal it’s a huge time suck to go back and edit each screen.

What I’d like is a setting or an ability to lock or snap sizing of elements to whole numbers and not even allow decimals to be created.

4 Likes

Yes, how can get Figma to respond to this issue. It’s super annoying. If I resize using the scaling of an image it works ok and scales with whole numbers. But as soon as I use the constrain proportions design tools area and type in a specific width or height, it changes the other size to a decimal. Then sometimes when I export that image, it shows up with a thin white line because it’s not rounded to the nearest whole number. So why does the scaling tool work but not the other way if you put a specific height or width in.

My workaround was to uncheck the constrain proportions and resize manually, but that is super slow when you have a lot of images.

1 Like

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