PDA

View Full Version : Resizing Collapsed North Panel - Can it be done?



cgountanis
17 Sep 2009, 11:55 AM
I have a simple North, West and Center layout. The West and North are collapsible. The question I have is can the collapsed panel when opened (not re-docked just opened by clicking on bar) be re-sizable? The attached image should help with the explanation.

I would like them to re-size that panel when docked when they want vs. having to change the size of the north area then re-docking.

cgountanis
18 Sep 2009, 6:23 AM
Any ideas please?

mmusson
19 Sep 2009, 9:53 AM
You will need to write some custom code to do this. The Ext.layout.BorderLayout.Region class implements the behavior of the north panel (docking vs. floating). I would look at Resizable for ideas on adding a clickable border that can resize the floating region.