Distribute horizontally not spacing equally

I’m trying to space out these lines and I notice that they are not spaced equally even though it says it is.
The problem seems that the spacing randomly decides whether it will pick from the edge of the line or the centre. I don’t know how to solve this issue.

Here’s what I’ve tried:

  • Made sure the strokes are all from the centre, not inside or outside.
  • Made the lines to be Centre,Centre rather than Left, Top
  • I have also tried turning off snap to pixel grid

Would appreciate any pointers.




Hi there,

Thanks for flagging this. I’ve also replicated this strange behavior, so I’m checking with our internal team.

I will get back to you once I have any information I can share with you.

Thanks for your patience!
Toku

Thanks for checking it out, Toku.
Looking forward to it.

Hi there,

Thanks for your patience! I checked with our internal team, and it appears there are two types of lines: one is a shape, and the other is a vector. It can be tricky to distinguish between them, but if you see a radius setting in the properties panel, it’s a vector. According to the product team, these two are different

The geometry of lines is aligned with the side/edge of the rendered line, whereas the geometry of a vector is centered on the rendered vector. The reason lines behave this way is to ensure alignment with the pixel grid.

If you use one type of line, it should be distributed evenly.

I hope this clarifies it but please feel free to let us know if you have further questions!

Thanks,
Toku

Oh, this was so helpful. I checked and saw that there were some line vectors within the line shapes I was attempting to distribute. I didn’t notice because the line layers remain the same regardless of whether it’s a shape or vector. I’ve deleted them now and it works perfectly.

Thank you for your time and patience, Toku.

2 Likes