Skip to main content

Module group_header

Module group_header 

Source
Expand description

GroupHeader — a horizontal section header: label followed by a trailing rule line that fills the remaining width.

Used to segment settings pages, preference sheets, and forms into labelled regions without the heavier chrome of a GroupBox. Int UI and Jewel use this pattern as a lightweight “soft divider with a caption” between groups of related controls.

let _w = GroupHeader::new(lit!("Appearance"));

Trivially composed from existing primitives: HStack → TextWidget + Expand(Divider).

Structs§

GroupHeader
A labelled section header with a trailing rule line.