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@OverlaySplitView:min-sidebar-width] and [property@OverlaySplitView:max-sidebar-width].

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

Parameters:

this

an overlay split view

fraction

the preferred width fraction