Thanks. Works fine now. Any reason why GWT doesn't do this?
-ken On Apr 9, 12:32 pm, Ian Bambury <ianbamb...@gmail.com> wrote: > It's possible, but not obvious. > There's some code here to do > it:http://examples.roughian.com/#Panels~DisclosurePanel > > Ian > > 2009/4/9 toont...@googlemail.com <toont...@googlemail.com> > > > > > Greetings, > > > I would like the headerText of a DisclosurePanel to be HTML. I tried > > > disclosurePanel.setHeader(new HTML(headerText)); > > > but then I lost the nice triangular icons. > > > The default header widget seems only to have a HasText interface. > > > I could make my own Widget with the DisclosurePanel icons but the > > DisclosurePanel header is pretty complex and I would rather not copy > > and edit the source code. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---