From d61cb58d92b6fcd520f665deb093f3747ffd5e5c Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 18 Oct 2021 15:36:32 +0700 Subject: Wire up `container` styling to `iced_native` --- graphics/src/widget/container.rs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'graphics') diff --git a/graphics/src/widget/container.rs b/graphics/src/widget/container.rs index 811a0c7f..c4c4e5ba 100644 --- a/graphics/src/widget/container.rs +++ b/graphics/src/widget/container.rs @@ -1,6 +1,5 @@ //! Decorate content and apply alignment. -use crate::container; -use crate::{Backend, Renderer}; +use crate::Renderer; pub use iced_style::container::{Style, StyleSheet}; @@ -10,10 +9,3 @@ pub use iced_style::container::{Style, StyleSheet}; /// `Renderer`. pub type Container<'a, Message, Backend> = iced_native::Container<'a, Message, Renderer>; - -impl iced_native::container::Renderer for Renderer -where - B: Backend, -{ - type Style = Box; -} -- cgit