-
7 Feb 2012 11:47 AM #1
BorderLayoutContainer missing titel/tooltip options?
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.
-Dave
-
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 #3
setTitle() indeed sets the tooltip and setHeadingText() the title of the content panel, but... no tooltip nor title are visible when the south component of the BorderLayoutContainer is collapsed. Which was the original question.Code:ContentPanel south = new ContentPanel(); south.setTitle("Tooltip of the south content panel"); south.setHeadingText("Title of the south content panel");


Reply With Quote