summaryrefslogtreecommitdiffstats
path: root/examples/screenshot
diff options
context:
space:
mode:
Diffstat (limited to 'examples/screenshot')
-rw-r--r--examples/screenshot/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/screenshot/src/main.rs b/examples/screenshot/src/main.rs
index dc4684d4..c670b20b 100644
--- a/examples/screenshot/src/main.rs
+++ b/examples/screenshot/src/main.rs
@@ -1,7 +1,6 @@
use iced::alignment;
use iced::executor;
use iced::keyboard;
-use iced::theme;
use iced::widget::{button, column, container, image, row, text, text_input};
use iced::window;
use iced::window::screenshot::{self, Screenshot};
@@ -149,7 +148,7 @@ impl Application for Example {
let image = container(image)
.padding(10)
- .style(theme::Container::Box)
+ .style(container::box_)
.width(Length::FillPortion(2))
.height(Length::Fill)
.center_x()