Expand description
Surfaces: cards and sections, panel headers, popup and menu rows, the dialog frame, toasts and tree rows.
Structs§
- Dialog
Output - What a dialog’s footer reported.
- TreeRow
- One row of the sidebar tree.
Enums§
Functions§
- badge
- A small status badge (error, warning, suppressed) for the right of a tree row.
- card
- A card:
bg.raised, radius 8, a 1 pxborder.subtleborder, 12 px padding. - dialog
- The dialog look: the medium shadow, a title row, the content, and a footer
with the primary button on the right and the secondary to its left. Drawn
in place (the gallery, and the body of an
egui::Windowin step 4). - field_
row - One row of a section’s two-column grid: the label left, the control right.
- menu_
header - A caption header inside a menu or dropdown.
- menu_
row - A menu row: 28 px, hover background, shortcut text on the right, an accent
check when
checked. - menu_
row_ with menu_rowwith the keyboard cursor on it.- menu_
separator - A menu separator.
- panel_
header - A panel’s header row: a collapse chevron, the title, and optional actions
(ghost icon buttons) on the right. Returns the header’s response; a click
toggles
collapsed. - popup_
frame - The frame of a popup, menu or context menu:
bg.raised, the small shadow. - section
- A section: a card under a section header.
- toast
- A toast card: a coloured left bar for the kind, the text, a close ×. Returns the × response.
- tree_
row - A 24 px tree row: a type icon, the selected row on
accent.mutedwith a 2 px accent left edge, faint indent guides, and a status badge on the right.