How to lock splitter position for the SplitLayout

Hi,

I’m trying to lock the splitter of the SplitLayout in place, but can’t find any way to do it.
When using touch controls the user accidentally changes the layout.
Is there a simple way to do it?

Hi,

You can fix both the min and max widths for each side of the split.

        layout.setPrimaryStyle("max-width","50%");
        layout.setPrimaryStyle("min-width","50%");
        layout.setSecondaryStyle("max-width","50%");
        layout.setSecondaryStyle("min-width","50%");

Works perfectly, thanks a lot.