diff options
Diffstat (limited to 'src/widget/progress_bar.rs')
-rw-r--r-- | src/widget/progress_bar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widget/progress_bar.rs b/src/widget/progress_bar.rs index 645c7277..d4499160 100644 --- a/src/widget/progress_bar.rs +++ b/src/widget/progress_bar.rs @@ -47,7 +47,7 @@ impl ProgressBar { /// Sets the width of the [`ProgressBar`] in pixels. /// /// [`ProgressBar`]: struct.ProgressBar.html - pub fn width(mut self, width: u32) -> Self { + pub fn width(mut self, width: u16) -> Self { self.style = self.style.width(width); self } |