diff options
author | 2023-05-19 04:37:58 +0200 | |
---|---|---|
committer | 2023-05-19 04:37:58 +0200 | |
commit | cc5d11f1a6fca90ea57e3fb3a69587c65281b6b9 (patch) | |
tree | 349d98171b467b7738874a5ef99ce536512c10eb /examples/tour | |
parent | 8e8b1e1eacc4e2c19c9878625f423c8e09e2d3b9 (diff) | |
parent | f7ed645eddd96f7964268367e24abcb5bb78a979 (diff) | |
download | iced-cc5d11f1a6fca90ea57e3fb3a69587c65281b6b9.tar.gz iced-cc5d11f1a6fca90ea57e3fb3a69587c65281b6b9.tar.bz2 iced-cc5d11f1a6fca90ea57e3fb3a69587c65281b6b9.zip |
Merge pull request #1846 from bungoboingo/feat/background-gradients
[Feature] Gradients for Backgrounds
Diffstat (limited to 'examples/tour')
-rw-r--r-- | examples/tour/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/tour/src/main.rs | 7 |
2 files changed, 3 insertions, 6 deletions
diff --git a/examples/tour/Cargo.toml b/examples/tour/Cargo.toml index 39e83671..48471f2d 100644 --- a/examples/tour/Cargo.toml +++ b/examples/tour/Cargo.toml @@ -7,4 +7,4 @@ publish = false [dependencies] iced = { path = "../..", features = ["image", "debug"] } -env_logger = "0.8" +env_logger = "0.10.0" diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs index 9c38ad0e..13bcd5ff 100644 --- a/examples/tour/src/main.rs +++ b/examples/tour/src/main.rs @@ -62,11 +62,8 @@ impl Sandbox for Tour { controls = controls.push(horizontal_space(Length::Fill)); if steps.can_continue() { - controls = controls.push( - button("Next") - .on_press(Message::NextPressed) - .style(theme::Button::Primary), - ); + controls = + controls.push(button("Next").on_press(Message::NextPressed)); } let content: Element<_> = column![ |