summaryrefslogtreecommitdiffstats
path: root/examples/tour.rs
diff options
context:
space:
mode:
authorLibravatar Matthias Fauconneau <matthias.fauconneau@gmail.com>2019-11-04 02:10:39 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-06 02:43:38 +0100
commit1e021fd034cc2b7df850c867371a81a4765582ba (patch)
treeb6e82ca2bccd981f4781190ff10b4b0d2b642560 /examples/tour.rs
parent7b4fe6b7cc77ef3bf028411b62408b86bcbe78b1 (diff)
downloadiced-1e021fd034cc2b7df850c867371a81a4765582ba.tar.gz
iced-1e021fd034cc2b7df850c867371a81a4765582ba.tar.bz2
iced-1e021fd034cc2b7df850c867371a81a4765582ba.zip
Fix Tour for HiDPI (stub)
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 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))