Text Candy :addScrollbar/addBackground w/o resizing

Hi,

when using the TextCandy:addScrollbar (and also addBackground) method,
the size is always changing depending on the text.
This is likely a feature and not a bug (especially for the background method),
but to make something like an infobox I really want to say,
here is the rect, put this text with that background in there and a scrollbar left or right.

I can use a regular background image and not use textcandys addBackground method
so at least the background Image doesn't "move". But the scrollbar still does.

Is this 'feature' planned, or am I doing something wrong?
thanks,
daniel

bump ;)

+1 on non-scaling option for backgrounds to text objects.

- Added 'fixedWidth' and 'fixedHeight' height properties that can be specified with CreateText(). If fixedHeight or fixedWidth are specified, the text's background image (if one) and scrollbar (if attached) will always keep this specified size and do not autosize anymore. This is useful when you want to display a text within a fixed screen area (an info box, for example) and want to disable the autosize behaviour of the text's background and scrollbar.

The updated library goes out today or tomorrow.

views:1312 update:2011/10/14 9:11:21
corona forums © 2003-2011