Expand description
StatusBar — a horizontal chrome bar at the bottom of a window for status information.
The bar publishes Role::Status so assistive technology can discover it as
a status landmark. It is not a live region by default — use
announce_changes(true) only for bars that
surface transient messages worth reading aloud (e.g. “Saved”), not for bars
showing continuous data like cursor position or zoom level that would flood
the screen reader. Visual chrome (background, border, corner radius) is
delegated to an inner Panel.
let _bar = StatusBar::new()
.child(TextWidget::new(lit!("Ln 1, Col 1")))
.announce_changes(false);Structs§
- Status
Bar - A status bar for displaying information at the bottom of a window.
Constants§
- STATUS_
BAR_ HEIGHT - StatusBar design tokens.
- STATUS_
BAR_ ITEM_ GAP - STATUS_
BAR_ PADDING_ HORIZONTAL