Re: Composite with Image
You are a genius ;-)
This takes me to my next problem. I cannot add a style name or modify the styling.
If I do,
image.addStyleName("stylename");
No style is applied to the image and the class attribute is empty. My understanding with Composite is that the style name should be applied to the top widget, so in this case to the image widget.
Any idea?
On Friday, 5 July 2013 12:48:57 UTC+2, Jens wrote:
I think Images must be attached to the DOM before you can use setResource(). So try--image = new TestImage();panel.add(image); //panel should also be attached to DOMimage.setResource(xxx);-- J.
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home