PDA

View Full Version : Collapsible Panels



zquirm
10 Mar 2007, 10:26 PM
I'd love to see some Collapsible Panels like:

http://www.codeproject.com/cs/miscctrl/CollapsiblePanelBar/CollapsiblePanelBar.gif

I suppose it would make sense to have an "accordian style" so only one panel could open at a time. And there should probably be an option for the panels when expanded to be height of the content in the panels (using something like autoheight) or to fill the remainder of region.

For example, lets say you fill the east region of a BorderLayout with 3 side panels. If two are already open, the third should have the option to fill the height of the rest of the region. Make sense?

Anyway...I know you have other things on your map...but I thought I'd throw this idea out there b/c I think it would be very useful.

thanks!

tryanDLS
11 Mar 2007, 11:32 AM
You could use the code from the Collapser on the 'Build your own Download' page as the basis for this.

brian.moeskau
11 Mar 2007, 2:30 PM
If you search the forum there is some basic code that provides a starting point for this, but nothing official. I'm sure there will be an official Ext version at some point after 1.0 is released.