NGUI is a cool UI solution for Unity3D, but sometimes it looks strange.
For example, the UISprite.
I needed a solid underline for my UI, and I used UISprite with a 1x1 px white dot image, then stretched it to 320x2 (320 just fit my UI element)
To make it work, I had to change the type to “Sliced” and add a 1px border at the left,top,right,bottom of the Sprite in Atlas.
Then, another issue appeared. My underline was in a ScrollView, it shook all the time (keep switching between a thinner one and a thicker one) when I dragged the ScrollView around.
I haven't found any solutions for this yet, and it makes my game look inferior.
1.Could you please tell me why the 1x1 px sprite doesn’t look solid? (see the attachment)
2.Why did another 1px border need to be added when I used a UISprite in Tiled mode?
3.Why did the sliced sprite keep shaking in a scrollview when I dragged it?
I think many people have the same confusion. Thanks so much for your answers!