Implement additional helpers for Border and container::Appearance
This commit is contained in:
parent
b8f05eb8dd
commit
7ece5eea50
12 changed files with 71 additions and 35 deletions
|
|
@ -134,7 +134,7 @@ where
|
|||
width: active_progress_width,
|
||||
..bounds
|
||||
},
|
||||
border: Border::with_radius(appearance.border.radius),
|
||||
border: Border::rounded(appearance.border.radius),
|
||||
..renderer::Quad::default()
|
||||
},
|
||||
appearance.bar,
|
||||
|
|
@ -230,6 +230,6 @@ fn styled(
|
|||
Appearance {
|
||||
background: background.into(),
|
||||
bar: bar.into(),
|
||||
border: Border::with_radius(2),
|
||||
border: Border::rounded(2),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue