5

I'd like to set the text in DisclosurePanel's header without having to re-construct the image/icon used by the default header.

Using customHeader means the arrow-icon is lost, in other words that seems like unreasonable amount of extra work.

EDIT: There's actually method for that, getHeaderTextAccessor(String)

Jaroslav Záruba
  • 4,694
  • 5
  • 39
  • 58
  • Not an awnser, but for future projects: Check out Vaadin (http://vaadin.com/), our Java programmers like it better then GWT or Smart-GWT. It also uses GWT under the hood but appearantly has a nicer API. – BGerrissen Sep 05 '10 at 09:53
  • 2
    Thanks but I'm not interested in another framework. – Jaroslav Záruba Sep 05 '10 at 16:52

1 Answers1

8

getHeaderTextAccessor(String)

Jaroslav Záruba
  • 4,694
  • 5
  • 39
  • 58