[Xerte] Re: Drag and drops - close

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Feb 1 12:12:20 GMT 2011


I'd do it with _visible?

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 01 February 2011 10:52
To: Xerte list
Subject: [Xerte] Re: Drag and drops - close

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/8c4e84bd/attachment.html>


More information about the Xerte mailing list