From 76737351ea9e116291112b7d576d9ed4f6bb5c2a Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Fri, 12 Jul 2024 18:12:34 +0200 Subject: Re-export variants of `Length` and `alignment` types --- widget/src/column.rs | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'widget/src/column.rs') diff --git a/widget/src/column.rs b/widget/src/column.rs index ef4ee99d..ae82ccaa 100644 --- a/widget/src/column.rs +++ b/widget/src/column.rs @@ -104,21 +104,6 @@ where self } - /// Centers the contents of the [`Column`] horizontally. - pub fn center_x(self) -> Self { - self.align_x(Alignment::Center) - } - - /// Aligns the contents of the [`Column`] to the left. - pub fn align_left(self) -> Self { - self.align_x(alignment::left()) - } - - /// Aligns the contents of the [`Column`] to the right. - pub fn align_right(self) -> Self { - self.align_x(alignment::right()) - } - /// Sets the horizontal alignment of the contents of the [`Column`] . pub fn align_x(mut self, align: impl Into) -> Self { self.align = Alignment::from(align.into()); -- cgit