set_sidebar_width_fraction


Description:

public void set_sidebar_width_fraction (double fraction)

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

The preferred width is additionally limited by [property@NavigationSplitView:min-sidebar-width] and [ property@NavigationSplitView:max-sidebar-width].

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

Parameters:

this

a navigation split view

fraction

the preferred width fraction