Remove padding from Container for now

This commit is contained in:
Héctor Ramón Jiménez 2019-11-11 05:37:51 +01:00
parent ceb02f4a36
commit d4d14b68f4
5 changed files with 13 additions and 23 deletions

View file

@ -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);
}