diff options
author | 2019-11-25 15:00:53 +0100 | |
---|---|---|
committer | 2019-11-25 15:00:53 +0100 | |
commit | 84874ac5dc2dc787833bcebf37751735f4c4ab42 (patch) | |
tree | 50314f680cd8597cf30b89c0236842bec1d834a9 /examples | |
parent | 862859142b50cf74a6fe423a4aa23fd63c152843 (diff) | |
parent | d70021fa68b556e20638f29e2e303f6d156afdb6 (diff) | |
download | iced-84874ac5dc2dc787833bcebf37751735f4c4ab42.tar.gz iced-84874ac5dc2dc787833bcebf37751735f4c4ab42.tar.bz2 iced-84874ac5dc2dc787833bcebf37751735f4c4ab42.zip |
Merge pull request #68 from hecrj/feature/application-settings
Allow `Application` configuration with `Settings`
Diffstat (limited to 'examples')
-rw-r--r-- | examples/todos.rs | 4 | ||||
-rw-r--r-- | examples/tour.rs | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/todos.rs b/examples/todos.rs index 77013dcc..af8a37a8 100644 --- a/examples/todos.rs +++ b/examples/todos.rs @@ -1,12 +1,12 @@ use iced::{ button, scrollable, text_input, Align, Application, Background, Button, Checkbox, Color, Column, Command, Container, Element, Font, - HorizontalAlignment, Length, Row, Scrollable, Text, TextInput, + HorizontalAlignment, Length, Row, Scrollable, Settings, Text, TextInput, }; use serde::{Deserialize, Serialize}; pub fn main() { - Todos::run() + Todos::run(Settings::default()) } #[derive(Debug)] 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 { |