summaryrefslogtreecommitdiffstats
path: root/examples/tour.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/tour.rs')
-rw-r--r--examples/tour.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tour.rs b/examples/tour.rs
index 238b04f1..c5daa2c5 100644
--- a/examples/tour.rs
+++ b/examples/tour.rs
@@ -76,7 +76,7 @@ impl Application for Tour {
}
let element: Element<_> = Column::new()
- .max_width(Length::Units((540.0*3.0) as u16))
+ .max_width(Length::Units(540))
.spacing(20)
.padding(20)
.push(steps.view(self.debug).map(Message::StepMessage))