NavigationSplitView.sidebarWidthFraction

Get sidebarWidthFraction property.

  1. double sidebarWidthFraction [@property getter]
    class NavigationSplitView
    @property
    double
    sidebarWidthFraction
    ()
  2. double sidebarWidthFraction [@property setter]

Return Value

Type: double

The preferred sidebar width as a fraction of the total width.

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.