Skip to main content

Module dialog

Module dialog 

Source
Expand description

Dialog chrome shared by every dialog in the crate.

  • DialogFrame: centred, non-modal window in the dialog frame
  • dialog_header: title row with a close button
  • DialogFooter: a rule above right-aligned action buttons, with optional left content

The kit Modal, ConfirmDialog and PromptDialog use the same frame, header and footer over a scrim.

Structs§

DialogFooter
Standard dialog footer with right-aligned action buttons.
DialogFrame
A centered dialog window with standard styling.

Functions§

dialog_header
Standard dialog title row: left-aligned title and a close button centred on it.