Expand description
Chrome widgets — pieces shared between title bar, status bar and panel
headers. Everything below paints to absolute screen-space coordinates and
tracks its own click hit-test via [UiBuilder::interact_rect].
Functions§
- paint_
kbd_ chip - A keyboard-shortcut chip (“⌘”, “K”, “Esc”). Returns the right edge in screen-space.
- paint_
panel_ header - Paints a panel-header strip: subtle gradient bg, hairline at bottom, then
a row of tabs returned through
tabs_clickedand a row of action icons on the right. Returns the y-coordinate where panel content can begin. - paint_
search_ pill - The wide “search commands” pill in the title bar. Returns the click interaction (whether the user wants to open the command palette) plus the right edge in screen-space.
- paint_
status_ dot - A circular dot indicator (used in status bars and pill chips).
- panel_
tab - A panel header tab. Returns whether it was clicked plus its width.