Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: th_reflekt on December 20, 2013, 05:50:37 AM
-
Hello, i got a strange problem using NGUI 3.0.6 f7 designing a UI for iPad (2048x1536 resolution).
Some sprites i'm using have one pixel "offset". I'm using UIToggle, e.g. with one "background" sprite and a "checkmark" sprite. Both images have the same size, both sprites the same dimensions and positions and using "Extract Sprite" gives me the correct images. Starting the application in the editor, the UI is shown correctly, too. However, when running the application on the device both sprites do not overlap correctly.
I attached an image which should (hopefully) explain the effect. The white line on the left side of the UI element should not appear (and does not appear when i run the app in editor, only on the iPad).
-
What are the settings of your UIRoot?
-
Hey, sorry for the late response (i was on vacation). The settings are:
Scaling Style: PixelPerfect
Minimum Height: 1536
Maximum Height: 1536
The app is supposed to run only on one specific iPad, so there's just one resolution to care for.
-
Update to the latest, and clear the padding values on the sprites.