Hi,
I'm trying to upgrade my code to 1.7, but I'm having a few problems,
and after trying to sort them myself searching the group and the
documentation, I gave up.
1) In 1.7
com.google.gwt.libideas.resources.client.ImmutableResourceBundle is
deprecated, and the javadoc point to
com.google.gwt.resources.client.ClientBundle. However, I cannot find
that interface in the 1.7 jar. Where should I look for it?
2) In 1.5 I used CssResource successfully for styling a layout that
needs images with negative margins depending on the size of the
sprite. The code, working for 1.5, is:
left: value('-myImage.getWidth', 'px');
The problem is that in 1.7, that same code fails complaining about no
method with zero-args called "-myImage". The minus is no longer a
minus but a dash for the parser. AFAIK, negative margins are a valid
CSS value.
I tried several combinations, but none worked:
left: -value('myImage.getWidth', 'px');
left: value(-'myImage.getWidth', 'px');
left: literal('-')value('myImage.getWidth', 'px');
Anyone knows how to use value() for getting a negative margin?
Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---