Set collapsed property.
Whether the split view is collapsed.
When collapsed, the children are put inside an class@NavigationView, otherwise they are displayed side by side.
The property@NavigationSplitView:show-content controls which child is visible while collapsed.
Set collapsed property.