View Full Version : Make a collapsible panel float always
17 Apr 2012, 9:19 AM
I have added two panels to a viewport that has a border layout. The first panel is added to the 'center' region and the second panel to the 'south' region. There is a splitter between the two panels and the south panel is collapsible. According to the Ext JS 4 docs, it appears the only way to float the collapsible panel is to collapse it, then click its placeholder. This works fine, but I was wondering if there is a way to make the south panel float by default.
17 Apr 2012, 9:28 AM
If the south panel is always floating, than this wouldn't be a border layout anymore?
17 Apr 2012, 9:33 AM
OK. Then what type of layout would work best to create the effect that happens when you float a collapsible panel?
17 Apr 2012, 9:39 AM
Well, a floating panel is just an Ext.window.Window. So, you could stick with a border layout and have the south region be an empty panel. Than just constrain your window to be the boundaries of the empty south panel? I am not sure if this is a desirable effect for you or not.
17 Apr 2012, 9:40 AM
Otherwise, you may want to look at something like this...
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.