You have to construct it with your own caption widget. http://google-web-toolkit.googlecode.com/svn/javadoc/latest/com/google/gwt/user/client/ui/DialogBox.html#DialogBox(com.google.gwt.user.client.ui.DialogBox.Caption)
It would be nice if there was a better solution, but this is better than nothing. On Feb 8, 2:45 pm, gwtTexter <[email protected]> wrote: > I want to add a HTML Widget containing a close-icon with a > Clickhandler to Dialogbox.setHTML but it only accepts strings. > According Issue 1405 (http://code.google.com/p/google-web-toolkit/ > issues/detail?id=1405) something is fixed regarding this problem, I'm > a bit unsure what and in which version it's in. > Can anyone shed som light on this? I know there is solutions extending > Dialogbox but if I can skip that it would be great! -- 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.
