7 Feb 2012 11:47 AM #1
BorderLayoutContainer missing titel/tooltip options?
I'd like to use BorderLayoutContainer but it has a couple missing features IMHO.
1. When widgets are collapsed the title of that panel disappears. I prefer the accordion layout in this regard as all panels retain their titles when closed/open but I need two panels to be possibly open at the same time, always showing their title. Neither container seems to do this. How can I do this?
2. Can I add a tooltip to collapsed BorderLayoutContainer panels so users know what is there? Still not a great solution to #1 above.
I'm probably missing how to do this.
9 Feb 2012 7:38 PM #2
If you add title(heading) to the content panel in the specific border layout region, the title will be shown. This is the case with GXT 2.2.5. I think, it should work in GXT 3.0 as well.
13 Feb 2012 12:06 AM #3Code:
ContentPanel south = new ContentPanel(); south.setTitle("Tooltip of the south content panel"); south.setHeadingText("Title of the south content panel");