DVUI

PanedWidget

Fields

#
wd:WidgetData
WidgetData
init_opts:InitOptions
InitOptions
mouse_dist:f32
f32
handle_thick:f32
f32
split_ratio:*f32
*f32
prevClip:Rect.Physical
Rect.Physical
collapsed_state:bool
bool
collapsing:bool
bool
active_side:enum { none, first, second }
enum { none, first, second }
layout:dvui.BasicLayout
dvui.BasicLayout
should_autofit:bool
bool
drawn:bool
bool

Types

#

Functions

#
init

It's expected to call this when self is undefined

autoFit

Resets the autofit of the first pane

getFirstFittedRatio

Calculates the split ratio to fit the first pane to the size of its children.

handleGap

The full gap added between panes to accomodate the handle.