Friday, August 24, 2012

How to create ImageElement in UiBinder from ImageResource

Hi,

I'm trying to move as much of my widgets into native HTML elements, for example InlineLabel to <span> and so on.
But how do you use the <img> element in the most efficient way in UiBinder with an ImageResource from a ClientBundle?
Do I have to set the class as a style defined with @sprite for this to work?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/jWVOaSz0jWoJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate