summaryrefslogtreecommitdiffstats
path: root/examples/tour.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-25 14:17:13 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-25 14:17:13 +0100
commitd70021fa68b556e20638f29e2e303f6d156afdb6 (patch)
treeddc0f00151b1ec71610e60045812493153788632 /examples/tour.rs
parente72b5ceeb8c6461a34e85909a48debf46505d00a (diff)
downloadiced-d70021fa68b556e20638f29e2e303f6d156afdb6.tar.gz
iced-d70021fa68b556e20638f29e2e303f6d156afdb6.tar.bz2
iced-d70021fa68b556e20638f29e2e303f6d156afdb6.zip
Allow `Application` configuration with `Settings`
Diffstat (limited to 'examples/tour.rs')
-rw-r--r--examples/tour.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tour.rs b/examples/tour.rs
index f5d3f28d..0121c3bd 100644
--- a/examples/tour.rs
+++ b/examples/tour.rs
@@ -1,13 +1,13 @@
use iced::{
button, scrollable, slider, text_input, Background, Button, Checkbox,
Color, Column, Container, Element, HorizontalAlignment, Image, Length,
- Radio, Row, Sandbox, Scrollable, Slider, Text, TextInput,
+ Radio, Row, Sandbox, Scrollable, Settings, Slider, Text, TextInput,
};
pub fn main() {
env_logger::init();
- Tour::run()
+ Tour::run(Settings::default())
}
pub struct Tour {