Hi,
in our game we have a background image that we want to use as a backdrop for the main menu. The native size is 1280x1024 (5:4). I'd like this image to fill the height of the screen, but keep its aspect ratio (with the camera's background color pillarboxing the image). I built the following UI Tree:
* UI Root
** Camera
*** Anchor (Center)
**** Panel
***** UISprite (Pixel Perfect)
I tried attaching a UIAnchor to the UISprite and ticking the "Stretch to fill" checkbox. This streched the image across the screen, but did not preserve the aspect ratio. So how would I achieve this in NGUI?