ows
06-26-2003, 01:09 PM
This has come up a couple of times now. I'd like to size a text view to fit the number of lines of text that it contains. My declaration looks like this:
<text datapath="description/text()" multiline="true" height="50"/>
but if the text is only one or two lines, and fits in fewer than 50 pixels, then I'd like to make that text view smaller.
How can I do this?
<text datapath="description/text()" multiline="true" height="50"/>
but if the text is only one or two lines, and fits in fewer than 50 pixels, then I'd like to make that text view smaller.
How can I do this?