[Xerte] setting button width dynamically?
Ron Mitchell
ronm at mitchellmedia.co.uk
Thu Feb 9 11:06:16 GMT 2012
Just been quickly trying to dynamically set the width of a button either
before it loads or after it has loaded e.g.
tried buttonw=150; in a script before the button
then w property of the button set as {buttonw} e.g. as the expression value
setting the label of the button in this way works fine so not sure why
setting the width isn't?
Also tried with a script after the button to resize it after loading e.g.
mybutton._width=buttonwidth;
what stupid mistake am I making? ;-)
Cheers
Ron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20120209/9d399582/attachment.html>
More information about the Xerte
mailing list