diff options
| author | 2023-05-11 16:45:08 +0200 | |
|---|---|---|
| committer | 2023-05-11 16:45:08 +0200 | |
| commit | 669f7cc74b2e7918e86a8197916f503f2d3d9b93 (patch) | |
| tree | acb365358235be6ce115b50db9404d890b6e77a6 /examples/pane_grid | |
| parent | bc62013b6cde52174bf4c4286939cf170bfa7760 (diff) | |
| parent | 63d3fc6996b848e10e77e6924bfebdf6ba82852e (diff) | |
| download | iced-669f7cc74b2e7918e86a8197916f503f2d3d9b93.tar.gz iced-669f7cc74b2e7918e86a8197916f503f2d3d9b93.tar.bz2 iced-669f7cc74b2e7918e86a8197916f503f2d3d9b93.zip  | |
Merge pull request #1830 from iced-rs/advanced-text
Advanced text
Diffstat (limited to 'examples/pane_grid')
| -rw-r--r-- | examples/pane_grid/Cargo.toml | 4 | ||||
| -rw-r--r-- | examples/pane_grid/src/main.rs | 8 | 
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/pane_grid/Cargo.toml b/examples/pane_grid/Cargo.toml index dfd6dfa9..4c0bf072 100644 --- a/examples/pane_grid/Cargo.toml +++ b/examples/pane_grid/Cargo.toml @@ -6,6 +6,4 @@ edition = "2021"  publish = false  [dependencies] -iced = { path = "../..", features = ["debug"] } -iced_native = { path = "../../native" } -iced_lazy = { path = "../../lazy" } +iced = { path = "../..", features = ["debug", "lazy"] } diff --git a/examples/pane_grid/src/main.rs b/examples/pane_grid/src/main.rs index c9f1376c..dfb80853 100644 --- a/examples/pane_grid/src/main.rs +++ b/examples/pane_grid/src/main.rs @@ -1,14 +1,16 @@  use iced::alignment::{self, Alignment}; +use iced::event::{self, Event};  use iced::executor;  use iced::keyboard; +use iced::subscription;  use iced::theme::{self, Theme};  use iced::widget::pane_grid::{self, PaneGrid}; -use iced::widget::{button, column, container, row, scrollable, text}; +use iced::widget::{ +    button, column, container, responsive, row, scrollable, text, +};  use iced::{      Application, Color, Command, Element, Length, Settings, Size, Subscription,  }; -use iced_lazy::responsive; -use iced_native::{event, subscription, Event};  pub fn main() -> iced::Result {      Example::run(Settings::default())  | 
