Improve tour example
This commit is contained in:
parent
2c35103035
commit
c583a2174d
24 changed files with 644 additions and 239 deletions
|
|
@ -83,7 +83,7 @@ impl<'a, Message> Button<'a, Message> {
|
|||
/// Sets the width of the [`Button`] in pixels.
|
||||
///
|
||||
/// [`Button`]: struct.Button.html
|
||||
pub fn width(mut self, width: u32) -> Self {
|
||||
pub fn width(mut self, width: u16) -> Self {
|
||||
self.style = self.style.width(width);
|
||||
self
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue