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
targetwhen pressed. - vertical_
divider - A thin vertical divider that starts a drag on
targetwhen pressed.