Mobile app version of vmapp.org
Login or Join
YK2262411

: Sketch: Pixel grid behaviour Ok, so I want to create an outline-icon. Therefore I made a rectangle and chose to have my border centred, so that round corners are actually round on both sides.

@YK2262411

Posted in: #PixelGrid #SketchApp

Ok, so I want to create an outline-icon. Therefore I made a rectangle and chose to have my border centred, so that round corners are actually round on both sides. In order for it to be pixel-perfect, I want the border to lie on the pixels and not between them, like this:



However Sketch keeps rearranging my rectangle the way I do not want it:



Now, when I edit vector-points I can choose how sketch places these in relation to the pixel-grid:



Is there some similar option for aligning objects, rather than their anchor-points? Because this is driving me crazy. Even if I duplicate a perfectly aligned rectangle using alt/option + drag, it moves both of them to lie between pixels ...

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @YK2262411

1 Comments

Sorted by latest first Latest Oldest Best

 

@Kaufman565

I use illustrator and Inkscape, might I suggested you change the border to outside or outer. Based on the gif you posted you have it on centre, basically Sketch is snapping your rectangle to its anchor points, if the stroke is set to inside or outer alignment that could solve your problem.

Outlining the object's stroke will help with aligning to the grid. Make sure to retain the original incase you need to make edits.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme