diff options
author | 2024-07-12 18:12:34 +0200 | |
---|---|---|
committer | 2024-07-12 18:12:34 +0200 | |
commit | 76737351ea9e116291112b7d576d9ed4f6bb5c2a (patch) | |
tree | a3b514583ab6f8981fb7656adb9d4d10ce9c466a /widget/src/row.rs | |
parent | f9dd5cbb099bbe44a57b6369be54a442363b7a8d (diff) | |
download | iced-76737351ea9e116291112b7d576d9ed4f6bb5c2a.tar.gz iced-76737351ea9e116291112b7d576d9ed4f6bb5c2a.tar.bz2 iced-76737351ea9e116291112b7d576d9ed4f6bb5c2a.zip |
Re-export variants of `Length` and `alignment` types
Diffstat (limited to 'widget/src/row.rs')
-rw-r--r-- | widget/src/row.rs | 15 |
1 files changed, 0 insertions, 15 deletions
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<alignment::Vertical>) -> Self { self.align = Alignment::from(align.into()); |