diff options
| author | 2024-03-16 16:12:07 +0100 | |
|---|---|---|
| committer | 2024-03-16 16:12:07 +0100 | |
| commit | bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6 (patch) | |
| tree | 3e6a5550cd726af978fbc884f5f6af5bd68dfafd /examples/layout/src | |
| parent | 3f81c524ccad2dd3fc4e6144f68b133132b1421b (diff) | |
| download | iced-bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6.tar.gz iced-bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6.tar.bz2 iced-bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6.zip | |
Make `sandbox` helper take a `title` as well
Diffstat (limited to 'examples/layout/src')
| -rw-r--r-- | examples/layout/src/main.rs | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/examples/layout/src/main.rs b/examples/layout/src/main.rs index fc3a1f82..371f2ae2 100644 --- a/examples/layout/src/main.rs +++ b/examples/layout/src/main.rs @@ -10,8 +10,7 @@ use iced::{  };  pub fn main() -> iced::Result { -    iced::sandbox(Layout::update, Layout::view) -        .title(Layout::title) +    iced::sandbox(Layout::title, Layout::update, Layout::view)          .subscription(Layout::subscription)          .theme(Layout::theme)          .run() | 
