"Align to Pixel Grid" not working for some vector elements
Align to pixel grid does not work on some vector elements.
The option works for some elements, but some others refuse to snap to grid/resize when using this option.
When i resize these resistant vectors to have no decimal point and use "align to pixel grid" it will change the H/W and X/Y to have decimal points once again.
-
MarcusM commented
When I use "align to pixel grid" to get rid of fractional pixels, it often warps my vector elements.
Attached is a before and after of a settings cog. You will notice how wrecked the after is, and it didn't even get rid of the fractional pixels!
It is very time consuming to delete the decimals from the width, height, and x and y positions of my elements. This is the only work around because XD will absolutely destroy my work if I use align to pixel grid.
-
MarcusM commented
When I use "align to pixel grid" to get rid of fractional pixels, it often warps my vector elements.
Attached is a before and after of a settings cog. You will notice how wrecked the after is, and it didn't even get rid of the fractional pixels!
It is very time consuming to delete the decimals from the width, height, and x and y positions of my elements. This is the only work around because XD will absolutely destroy my work if I use align to pixel grid.
-
Joha commented
Me está pasando lo mismo. No hay manera que XD se alinee a una cuadricula de pixel y que sus Shapes o colocación de elementos no den DECIMALES. Es muy desesperante no poder trabajar pixel perfect como en Sketch o FIgma.
-
Based on sample sent to me directly (since there doesn't seem to be a way to attach samples here), this seems to be working as designed, so I changed this to be a Feature Request. Here's a summary of my offline response:
"Groups in XD don’t have X, Y, Width, or Height properties. They are simply the result of grouping together all of their children.
"The elements that dictate the X and Y cases are both Path objects, and the top-most and left-most points are curves between anchor points. 'Align to Pixel Grid' on a Path object causes all of the anchor points to align to pixel grid, but not the overall Path object."
-
William Ford commented
I am sending you an XD doc now. Thanks, Randy.
-
Can you provide an example? If you can't figure out how to explain it here you can send me a sample XD doc to redmunds at adobe dot com.
Randy