PDA

View Full Version : Adding text on the split bar after the mini collapsible tool



chebus
20 Jun 2014, 7:01 AM
I am trying to add text on the splitbar in the south region of the borderlayout data. There is border layout which has a search criteria in the west region, a grid in the center region and a panel in the south region. The center and south region are split by the splitbar . On this split bar i want to add text before the mini collapsible tool.
Apprecitate your suggestions.
I tried with the following approach with no luck,


((SplitBar)((Component)borderLayoutContainer.getSouthWidget()).getData("splitBar"))
.getAppearance().render(new SafeHtmlBuilder(). appendHtmlConstant("<b>My Text on Split bar</b>"), LayoutRegion.WEST);

Following is the split bar and the text (that i need to achieve) before the collapsible tool

49414