Expand description
What this design system paints inside a resize handle.
Base owns the band, the cursor and the drag; everything here is appearance. A divider rests as the same hairline it has always been, and answers the pointer with a pill that grows and solidifies as the pointer engages it: available, held, being dragged.
Structs§
- Resizable
Panel - A resizable panel inside a
ResizablePanelGroup. - Resizable
Panel Group - A group of resizable panels.
- Resizable
State - State for a
ResizablePanel - Resize
Handle - A band that resizes along one axis when it is dragged, carrying a
Tthat the drag renders as anE. Seeresize_handle.
Enums§
- Handle
Edge - Which edge of its own container a handle hugs.
- Resizable
Panel Event
Functions§
- h_
resizable - Create a
ResizablePanelGroupwith horizontal resizing. - resizable_
panel - Create a
ResizablePanel. - resize_
handle - Create a standalone
ResizeHandlewearing this design system’s divider, for an edge noResizablePanelGroupowns – an application’s sidebar, say. What the drag resizes is the caller’s; seegpui_base::resize_handle. - resize_
handle_ appearance - This design system’s divider appearance, for a handle that base does not already hand it — a dock edge, or a hand-rolled handle in an application.
- v_
resizable - Create a
ResizablePanelGroupwith vertical resizing.