pub fn without_percentage() -> ProgressOptionExpand description
Hides the numeric percentage display.
By default, progress bars show a percentage (e.g., “ 75%“) alongside the visual bar. This option removes the percentage text, creating a cleaner appearance and saving horizontal space.
§Examples
use bubbletea_widgets::progress::{new, without_percentage, with_width, with_solid_fill};
// Clean progress bar without percentage text
let minimal_progress = new(&[
without_percentage(),
with_width(30),
]);
// Useful for compact layouts
let compact_progress = new(&[
without_percentage(),
with_solid_fill("#3742fa".to_string()),
]);