summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-06 02:47:01 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-06 02:47:01 +0100
commit2026048053a09d72a01537712561ff5bfdfdf953 (patch)
treeddd3526862eebc2fd6c4f6067c0ad1199a799fad /examples
parent1e021fd034cc2b7df850c867371a81a4765582ba (diff)
downloadiced-2026048053a09d72a01537712561ff5bfdfdf953.tar.gz
iced-2026048053a09d72a01537712561ff5bfdfdf953.tar.bz2
iced-2026048053a09d72a01537712561ff5bfdfdf953.zip
Remove hardcoded HiDPI scaling
Diffstat (limited to '')
-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))