Hi Thomas, Tks a lot for your reply. It worked nicelly.
Regards, Michel. On Nov 28, 4:49 pm, Thomas Broyer <[EMAIL PROTECTED]> wrote: > On 28 nov, 12:48, Michel <[EMAIL PROTECTED]> wrote: > > > Hello there. > > > When we use the Image class, we can set the image via the setUrl > > command. > > > Fine. > > > But now I wanted to set the image which is defined in a css class.... > > > Is it possible to use Image for this? > > It might not be the best choice but yes: just setUrl > (GWT.getModuleBaseURL() + "clear.cache.gif") and addStyleName. > And in your CSS, set your image as a background-image (and set the > width and height too!) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
