layout::resizable

Structs

Resizable

Divides slotted content into resizable horizontal or vertical sections.

dividers contains positions along the main axis. With n dividers, Resizable expects n + 1 slot children.

Properties

dividers

Type: Property<Vec<Size>>

Divider positions along the main axis.

direction

Type: Property<ResizableDirection>

Whether sections are split horizontally or vertically.

Enums

ResizableDirection

Axis direction for a Resizable split.

Variants

Vertical

Split content into top-to-bottom sections.

Horizontal

Split content into left-to-right sections.