I am using the GWT Image widget then I am setting the image resource dynamically. When I do so the style class name of the image gets removed. I used UiBinder also tested on the java code as:
-- image.setStyleName(styles.topLogo());
image.setResource(logo);
This would also removed the style name, however, the following would not:
image.setResource(logo);
image.setStyleName(styles.topLogo());So, my guess is that setResource foe some reason removes the previously defined style name. Is that a bug or a bug that is disguised as a feature?
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment