Limit SplitPanel SplitPosition

I’m new in vaadin and have a trouble
Could you explain how can I limit splitposition for split panel. I mean if a user tries to set a splitter to splitposition less than POSITION_MIN <>0 than it should be set to POSITION_MIN but not less and the same for POSITION_MAX <>100.

Hi,

as far as I know, there isn’t a way to limit the split position for the
SplitPanel
component. Actually I have created a ticket for this feature (see the link below), but unfortunately it hasn’t been implemented.


#1744 (SplitPanel could have setMaxSplitPosition and setMinSplitPosition methods)

  • Teemu