LayoutSprite is an implementation of LayoutCapable designed to give NGUI UISprite layout functionality. The UISprite component will need to be set up just like any NGUI UISprite with an atlas and sprite.
LayoutSprite uses the sprite’s natural size to represent its minimum required space. This means that if you want to shrink the sprite, you will need to set the size in the Absolute Size fields. However, when horizontal or vertical alignment are set to “Stretch” the LayoutSprite will resize to fill the space available to it.
Note: LayoutSprite does not currently support the Background property.
