appcelerator/titanium_mobile — pull request #2932 by farfromrefug (2012-09-13 06:47:03+00:00)
Title: [Tc-1247] label backgroundImage always use caps

[jira ticket](https://jira.appcelerator.org/browse/TC-1247)

This fix uses a layer to render backgroundImage for label instead of an UIImage. It just uses the backgroundImageLayer method of TiUIView

One note about this. in the setBackgroundImage_ of TiUIView there is a
self.layer.masksToBounds = bgdImage != nil;

I dont really get it and it kinds of break the backgroundPadding property of label. So in the setBackgroundImage_ of TiUILabel i do
self.layer.masksToBounds = NO;

i need feedback on this.