diff options
author | 2019-11-06 02:47:01 +0100 | |
---|---|---|
committer | 2019-11-06 02:47:01 +0100 | |
commit | 2026048053a09d72a01537712561ff5bfdfdf953 (patch) | |
tree | ddd3526862eebc2fd6c4f6067c0ad1199a799fad /examples/tour.rs | |
parent | 1e021fd034cc2b7df850c867371a81a4765582ba (diff) | |
download | iced-2026048053a09d72a01537712561ff5bfdfdf953.tar.gz iced-2026048053a09d72a01537712561ff5bfdfdf953.tar.bz2 iced-2026048053a09d72a01537712561ff5bfdfdf953.zip |
Remove hardcoded HiDPI scaling
Diffstat (limited to '')
-rw-r--r-- | examples/tour.rs | 2 |
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)) |