Splitter
Resizable panes.
GUITUIRuns in the browser
splitterPreview












╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
Usage example
fn splitter_demo() -> SplitterBuilder { splitter(Orientation::Horizontal) .child(card(text("Navigation").nowrap()), 180.0) .child(card(text("Content").nowrap()), 260.0) .height(140.0)}fn splitter_demo() -> SplitterBuilder { splitter(Orientation::Horizontal) .child( card(text("Navigation").nowrap()), 180.0, ) .child( card(text("Content").nowrap()), 260.0, ) .height(140.0)}States
All 3 captured states, each drawn by the window host and by the terminal host.

Default╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │

Hover╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │

Pressed╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
╭─────────────────────╮│╭───────────────────────────────╮ │ │││ │ │ │││ │ │ Navigation │││ Content │ │ │││ │ │ │││ │ ╰─────────────────────╯│╰───────────────────────────────╯ │ │ │ │ │ │ │ │ │ │ │
API
| Name | Signature | Purpose |
|---|---|---|
splitter | fn splitter(orientation: Orientation) -> SplitterBuilder | Resizable panes. |