Wednesday, March 15, 2006

resizing an OpenLaszlo Text object

Instances of Text in OpenLaszlo have a default size. Here is the key to getting them to change their size depending on their text content. Set the resize attribute to true, like this:

<text datapath="mydata/text()" resize="true"/>

0 Comments:

Post a Comment

<< Home