Horizontalspiltpanel problem


i need to minimize the size of the split in horizontalsplitpanel. also i need to hide the spilt .

how to make these two please help am new to vaadin that why am askin too many doubts…

thanks and regards


Are you talking about the split-bar between the two components, or the components themselves?

To make the split-bar “invisible” - i.e. a 1px transparent line - you can set the split pane style to “small” e.g.


To move the split-bar, use the setSplitPosition - e.g. to move it all the way to the left, you can do

splitPanel.setSplitPosition(0, Sizeable.UNITS_PIXELS);