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/column.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 '')
-rw-r--r-- | widget/src/column.rs | 15 |
1 files changed, 0 insertions, 15 deletions
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<alignment::Horizontal>) -> Self { self.align = Alignment::from(align.into()); |