Skip to main content

Stop aligning my line's x/y values onto the pixel grid when I resize or move them

  • February 13, 2025
  • 5 replies
  • 27 views

Brian_Olson

Sometimes when I resize or move a line, Figma will reposition the line from an x value of 100.5px to 101px.

Stop doing that!

 

It makes the lines blurry and I need to change its position back to 100.5 by hand. Very annoying!


Turning off ‘Snap to Grid’ is not what I need. I do want things to snap to the pixel grid in the dimension that I’m resizing not the other dimension. For example if I’m resizing a line in the horizontal direction, do not change its vertical position.


 

5 replies

dvaliao
Figmate
  • Community Support
  • 4591 replies
  • February 13, 2025

Hey ​@Brian_Olson, thanks for flagging this! 

Right now, this is expected behavior. The team confirmed that certain layer types (frames/instances/components/widgets) will always snap to whole pixel grid X/Y coordinates no matter what. The best solution is to always create using whole pixels as well as place your work on whole pixel X/Y coordinates. This is on our team’s radar for future improvement though: 


Please feel free to add your feedback there as well. We’re continuing to monitor feedback and will advocate for the community for its improvement. 


Brian_Olson
  • Author
  • New Participant
  • 17 replies
  • February 14, 2025

Aligning to the pixel grid may work well for many scenarios. But that is not true in all cases.

It makes lines blurry if they are an odd number of pixels in width. Here for example are 1px width lines aligned to the pixel vs the half pixel.
 

 


dvaliao
Figmate
  • Community Support
  • 4591 replies
  • February 14, 2025

Thanks for the additional info and example scenario, ​@Brian_Olson

We’ll pass this onto the team.


Brian_Olson
  • Author
  • New Participant
  • 17 replies
  • February 14, 2025

Thanks for passing that along ​@dvaliao!

Here is why that happens if it helps.

 


Brian_Olson
  • Author
  • New Participant
  • 17 replies
  • February 14, 2025

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings