PDA

View Full Version : BorderLayoutContainer float does not work unless collapsible mini is enabled



johnz45
12 Jan 2012, 2:22 PM
In BorderLayoutContainer, I have added a panel widget with borderLayoutData.

If use the below BorderLayoutData, when I click the north border, the float of the widget is not displayed:


BorderLayoutData northGraphData = new BorderLayoutData(150); northGraphData.setCollapsible(true);
northGraphData.setMargins(new Margins(0, 5, 0, 5));
northGraphData.setSize(300);
northGraphData.setFloatable(true);


If I use the below BorderLayoutData, when I click the north border, the float is displayed:


BorderLayoutData northGraphData = new BorderLayoutData(150);
northGraphData.setCollapsible(true);
northGraphData.setCollapseMini(true);
northGraphData.setMargins(new Margins(0, 5, 0, 5));
northGraphData.setSize(300);
northGraphData.setFloatable(true);


The only difference is setting collapseMini which shouldn't matter.