The observed behavior is related to the following logic of the Splitter widget:
- initially, no pane sizes are specified, so the layout is constructed proportionately (e.g. 50%/50%) and the pane proportions are maintained if the whole widget is resized
- as soon as the user resizes a pane, the pane sizes start to be calculated and applied as fixed amounts, instead of proportions
- if the whole widget is resized now, proportionate sizes will not be applied
To change the above behavior, you can use the following approach:
The idea is to reset the pane sizes in the Splitter's resize event. Feel free to modify the logic, according to your preferences and requirements.
Another option is to enable Window scrolling by removing the overflow:hidden style, but this is not recommended, as it may result in scrollbar and Splitter flickering during resize.