NavigationSplitView.setSidebarWidthFraction

void setSidebarWidthFraction(double fraction)

Sets the preferred sidebar width as a fraction of the total width of self.

The preferred width is additionally limited by propertyNavigationSplitView:min-sidebar-width and propertyNavigationSplitView:max-sidebar-width.

The sidebar widget can be allocated with larger width if its own minimum width exceeds the preferred width.

Parameters

fractionthe preferred width fraction