PDA

View Full Version : splitter window


tony_k
01-10-2008, 11:07 AM
panel with splitter bar oriented either horizontally or vertically.

by default splitter will start at 50%.

"half" panels collapsible in appropriate directions:
- if split vertically, left panel will collapse left, right panel will collapse right
- if split horizontally, top panel will collapse up, bottom panel will collapse down

kind of a variation on border layout, but without the center region, and allowing
only either north+south -or- east+west

JeffHowden
01-10-2008, 01:22 PM
What would be the usecase for a UI element like this?

Animal
01-10-2008, 06:57 PM
And what happens in the space left by collapsing?

ray007
01-11-2008, 05:08 AM
And what happens in the space left by collapsing?
I think the general case of what we're talking about here are ColumnLayout with resizeable columns and RowLayout with resizable rows.
And the layout-manager would have to take care that at least one of it's items is not hidden/collapsed ...

For the row-layout part of the functionality already exists as user extension.

I have already asked about this in some other thread, so +5 from me on this one :D