diff options
author | 2024-03-07 21:02:17 +0100 | |
---|---|---|
committer | 2024-03-07 21:02:17 +0100 | |
commit | 7ece5eea509f3595432babfc7729701f2e063b21 (patch) | |
tree | 42502a52270f24d1d323a268a36c689cd92aec82 /widget/src/progress_bar.rs | |
parent | b8f05eb8dd0394e308385796c229cfc5bc4f3a73 (diff) | |
download | iced-7ece5eea509f3595432babfc7729701f2e063b21.tar.gz iced-7ece5eea509f3595432babfc7729701f2e063b21.tar.bz2 iced-7ece5eea509f3595432babfc7729701f2e063b21.zip |
Implement additional helpers for `Border` and `container::Appearance`
Diffstat (limited to 'widget/src/progress_bar.rs')
-rw-r--r-- | widget/src/progress_bar.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widget/src/progress_bar.rs b/widget/src/progress_bar.rs index f945a7b5..7b0ea63f 100644 --- a/widget/src/progress_bar.rs +++ b/widget/src/progress_bar.rs @@ -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), } } |