Skip to main content

Module divider

Module divider 

Source
Expand description

Thin draggable divider widgets for resizable panes.

Two flavours are provided:

  • vertical_divider โ€” a narrow vertical bar that the user can drag left/right to resize adjacent horizontal panes.
  • horizontal_divider โ€” a narrow horizontal bar that the user can drag up/down to resize adjacent vertical panes.

Both are built from mouse_area + container so they emit the standard PaneDragStart / PaneDragStartH messages on press. The hit-zone is deliberately wider than the visible rule so that grabbing the divider with the mouse is comfortable. A subtle background highlight appears on hover to signal that the divider is interactive.

Functionsยง

horizontal_divider
A thin horizontal divider that starts a drag on target when pressed.
vertical_divider
A thin vertical divider that starts a drag on target when pressed.