[Xerte] Re: Drag and drops - close

Dave Burnett d_b_burnett at hotmail.com
Tue Feb 1 10:51:42 GMT 2011


This a little puzzling.

Why would this work on one machine and not another:

I want the text object to start out not showing all the text.
I've added a 1 second delay before setting the property.

daveid.txt.setSize(200,30);
daveid.txt.autoSize = 'none';
daveid.setText('a long line of text');

One one machine it shows a 200 X 30 object with a single line of text.
On another, there is a 5 pixel high object and no text can be seen.

On both machines, when I rollOver the object, I trigger
daveid.txt.autoSize = 'left';

On both machines this works correctly and all text is shown.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110201/8582c058/attachment.html>


More information about the Xerte mailing list