From 1e021fd034cc2b7df850c867371a81a4765582ba Mon Sep 17 00:00:00 2001 From: Matthias Fauconneau <matthias.fauconneau@gmail.com> Date: Mon, 4 Nov 2019 02:10:39 +0100 Subject: Fix Tour for HiDPI (stub) --- examples/tour.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/tour.rs') diff --git a/examples/tour.rs b/examples/tour.rs index c5daa2c5..238b04f1 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)) + .max_width(Length::Units((540.0*3.0) as u16)) .spacing(20) .padding(20) .push(steps.view(self.debug).map(Message::StepMessage)) -- cgit