From 5fae6e59ffbc5913761df638dc7f0c35b7f43bc9 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 20 Sep 2021 14:33:02 +0700 Subject: Introduce and use `CrossAlign` enum for `Column` and `Row` --- native/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'native/src/lib.rs') diff --git a/native/src/lib.rs b/native/src/lib.rs index cb0600e2..cf8b0da5 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -62,8 +62,8 @@ mod debug; mod debug; pub use iced_core::{ - Align, Background, Color, Font, HorizontalAlignment, Length, Padding, - Point, Rectangle, Size, Vector, VerticalAlignment, + Align, Background, Color, CrossAlign, Font, HorizontalAlignment, Length, + Padding, Point, Rectangle, Size, Vector, VerticalAlignment, }; pub use iced_futures::{executor, futures}; -- cgit From a0ad3996225601aaa1ebe051cba115374b55c80e Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 20 Sep 2021 15:09:55 +0700 Subject: Refactor alignment types into an `alignment` module --- native/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'native/src/lib.rs') diff --git a/native/src/lib.rs b/native/src/lib.rs index cf8b0da5..170a588b 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -61,9 +61,10 @@ mod debug; #[path = "debug/null.rs"] mod debug; +pub use iced_core::alignment; pub use iced_core::{ - Align, Background, Color, CrossAlign, Font, HorizontalAlignment, Length, - Padding, Point, Rectangle, Size, Vector, VerticalAlignment, + Alignment, Background, Color, Font, Length, Padding, Point, Rectangle, + Size, Vector, }; pub use iced_futures::{executor, futures}; -- cgit