summaryrefslogtreecommitdiffstats
path: root/widget/src/row.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-12 18:12:34 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-12 18:12:34 +0200
commit76737351ea9e116291112b7d576d9ed4f6bb5c2a (patch)
treea3b514583ab6f8981fb7656adb9d4d10ce9c466a /widget/src/row.rs
parentf9dd5cbb099bbe44a57b6369be54a442363b7a8d (diff)
downloadiced-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/row.rs15
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());