From d4d14b68f47e9527554a728ebbba9b840832626a Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 11 Nov 2019 05:37:51 +0100 Subject: Remove `padding` from `Container` for now --- native/src/widget/container.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'native/src/widget') diff --git a/native/src/widget/container.rs b/native/src/widget/container.rs index bb78a68c..c616db2a 100644 --- a/native/src/widget/container.rs +++ b/native/src/widget/container.rs @@ -1,8 +1,6 @@ use std::hash::Hash; -use crate::{ - layout, Element, Event, Hasher, Layout, Length, Point, Size, Widget, -}; +use crate::{layout, Element, Event, Hasher, Layout, Length, Point, Widget}; /// A container that distributes its contents vertically. pub type Container<'a, Message, Renderer> = @@ -73,7 +71,6 @@ where self.height.hash(state); self.max_width.hash(state); self.max_height.hash(state); - self.padding.hash(state); self.content.hash_layout(state); } -- cgit