diff --git a/src/ui/widget/container.rs b/src/ui/widget/container.rs index ef1d20ce..8a990f3a 100644 --- a/src/ui/widget/container.rs +++ b/src/ui/widget/container.rs @@ -12,7 +12,7 @@ use crate::ui::{RENDER_WIDTH_LARGE, RENDER_WIDTH_MEDIUM, RENDER_WIDTH_SMALL}; use super::{PredefinedLayout, RenderProps, View, ViewProps, Widget}; -#[derive(Clone, Debug)] +#[derive(Clone, Debug, Default)] pub struct ColumnView { small: bool, medium: bool, @@ -44,16 +44,6 @@ impl ColumnView { } } -impl Default for ColumnView { - fn default() -> Self { - Self { - small: false, - medium: false, - large: false, - } - } -} - #[derive(Clone, Debug)] pub struct Column<'a> { pub text: Text<'a>,