feat(progress_bar): linear progress markers
This commit is contained in:
parent
6f863f1905
commit
466e25d9f8
2 changed files with 143 additions and 30 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue