Re: DisclosurePanel headerText limited to plain text?

2009-04-10 Thread Ian Bambury
2009/4/10 Ken Kahn > > Thanks. Works fine now. > > Any reason why GWT doesn't do this? Google bases its priorities on what Google wants? For example, some widgets stop working if placed inside certain other widgets (splitpanel inside a disclosurepanel for example). Presumably no-one in Google w

Re: DisclosurePanel headerText limited to plain text?

2009-04-10 Thread Ken Kahn
Thanks. Works fine now. Any reason why GWT doesn't do this? -ken On Apr 9, 12:32 pm, Ian Bambury 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 > > > > > Greetings,

Re: DisclosurePanel headerText limited to plain text?

2009-04-09 Thread Ian Bambury
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 > > Greetings, > > I would like the headerText of a DisclosurePanel to be HTML. I tried > > disclosurePanel.setHeader(new HTML(headerText))

DisclosurePanel headerText limited to plain text?

2009-04-09 Thread 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 ico