hi.
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
srikaanth
hi.
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
srikaanth
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.
splitPanel.addStyleName("small");
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);
Cheers,
Charles.