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/row.rs | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'widget/src/row.rs') diff --git a/widget/src/row.rs b/widget/src/row.rs index 129feb7e..3feeaa7e 100644 --- a/widget/src/row.rs +++ b/widget/src/row.rs @@ -95,21 +95,6 @@ where self } - /// Centers the contents of the [`Row`] vertically. - pub fn center_y(self) -> Self { - self.align_y(Alignment::Center) - } - - /// Aligns the contents of the [`Row`] to the top. - pub fn align_top(self) -> Self { - self.align_y(alignment::top()) - } - - /// Aligns the contents of the [`Row`] to the bottom. - pub fn align_bottom(self) -> Self { - self.align_y(alignment::bottom()) - } - /// Sets the vertical alignment of the contents of the [`Row`] . pub fn align_y(mut self, align: impl Into) -> Self { self.align = Alignment::from(align.into()); -- cgit