@peterflynn Hmm.  So, in the current implementation, even if the sidebar is hidden, the min width of the main window should still be effective and the window should be restricted from shrinking beyond the minimum if the sidebar was still visible.

Having said all that, your proposed solution sounds intriguing.  Let me try that and see if that is sufficient to handle both cases -- ie. widening the sidebar or shrinking the main window.