Saturday, June 30, 2012

Non resizable panel splitter.

There is a component Panel Splitter, which used to divide a region into two parts one of which can be resized or collapsed. Great but there are cases when I want only to collapse/uncollapse one side and not to resize. The panelSplitter doesn't have such property. After playing with firebug I've made a css class wich satisfies my needs.
Test page.
Now there is no delimiter which appears on mouse hover and changes mouse cursor. And I can't change the size, only collapse.

Also the component lacks properties minPosition and maxPosition which I'd like to use.
Sample application is here.

1 comment: