01-16-2014 07:54 AM
I would like to set a scalable background image to a label field. I set the backgound image with the help of setBackground() method available in label field. But when the text in the label field increases the background image tend to repeat rather than being scaled. Can someone please help me on this?
Thank you very much in advance.
Solved! Go to Solution.
01-16-2014 09:30 AM
Never tried this myself, but have you reviewed the options when you create your Background?
Have a look at this:
and review the
BackgroundFactory.createBitmapBackground(Bitmap, int, int, int)
parameters, specifically looking at setting REPEAT_SCALE_TO_FIT