Expand description
Status message display helpers.
Provides consistent error/success/warning/info message rendering used in dialogs and forms.
§Example
if let Some(ref error) = error {
status_message(ui, MessageKind::Error, error);
}
if let Some(ref msg) = success {
status_message(ui, MessageKind::Success, msg);
}Enums§
- Message
Kind - Kind of status message, determines color.
Functions§
- status_
message - Show a padded, colored status message.