Inside a CSSResource it's possible to use value() like this:
width: value('2 * selectAllButton.getWidth', 'px');
As expected, width ends up being two times the width of
selectAllButton (an ImageResource).
My problem shows when I do this:
width: value('selectAllButton.getWidth * 2', 'px');
This fails with a cryptic compiler message regarding extra
parentheses.
I tried to find documentation regarding the use of value() with
arithmetic expressions, but I couldn't find any. May someone point me
in the right direction?
Thanks and happy 2009!
D.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---