1
NGUI 3 Support / Grids with thin (1 pixel) spacing
« on: August 11, 2015, 02:57:29 AM »
I am trying to make a scrollable grid with a very thin border between the cells. I was playing around with the NGUI Example 14 scene to try and prototype my idea. I notice that even with UIRoot set to flexible (pixel-perfect), I still get slight inconsistencies on different devices (currently testing with iPhone 5 and iPhone 6).
When you scroll to certain positions, the spacing sometimes looks larger than 1 pixel (see attached screenshot).
What is the best technique to avoiding this issue? Even if I can't achieve 1 pixel spacing, I would be happy with a solution that provides 2+ pixel spacing as long is it is consistent between all cells.
For reference, I'm using NGUI 3.9.1. Thanks.
When you scroll to certain positions, the spacing sometimes looks larger than 1 pixel (see attached screenshot).
What is the best technique to avoiding this issue? Even if I can't achieve 1 pixel spacing, I would be happy with a solution that provides 2+ pixel spacing as long is it is consistent between all cells.
For reference, I'm using NGUI 3.9.1. Thanks.