feat(progress_bar): linear progress markers

This commit is contained in:
Vukašin Vojinović 2026-05-19 15:01:44 +02:00 committed by Michael Murphy
parent 6f863f1905
commit 466e25d9f8
2 changed files with 143 additions and 30 deletions

View file

@ -240,7 +240,9 @@ impl cosmic::Application for App {
widget::progress_bar::linear::Linear::new()
.girth(10.0)
.progress(self.progress)
.width(Length::Fill),
.width(Length::Fill)
.markers([0.25, 0.5, 0.75])
.segment_spacing(2),
)
.push(
widget::progress_bar::circular::Circular::new()