From 2026048053a09d72a01537712561ff5bfdfdf953 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Wed, 6 Nov 2019 02:47:01 +0100 Subject: Remove hardcoded HiDPI scaling --- examples/tour.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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)) -- cgit