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` --- web/src/lib.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'web/src/lib.rs') diff --git a/web/src/lib.rs b/web/src/lib.rs index 8cfe685b..b968c96f 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -74,8 +74,9 @@ pub use dodrio; pub use element::Element; pub use hasher::Hasher; pub use iced_core::{ - keyboard, mouse, Align, Background, Color, Font, HorizontalAlignment, - Length, Padding, Point, Rectangle, Size, Vector, VerticalAlignment, + keyboard, mouse, Align, Background, Color, CrossAlign, Font, + HorizontalAlignment, Length, Padding, Point, Rectangle, Size, Vector, + VerticalAlignment, }; pub use iced_futures::{executor, futures}; pub use subscription::Subscription; -- 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 --- web/src/lib.rs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'web/src/lib.rs') diff --git a/web/src/lib.rs b/web/src/lib.rs index b968c96f..4679b457 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -73,13 +73,18 @@ pub use css::Css; pub use dodrio; pub use element::Element; pub use hasher::Hasher; +pub use subscription::Subscription; + +pub use iced_core::alignment; +pub use iced_core::keyboard; +pub use iced_core::mouse; +pub use iced_futures::executor; +pub use iced_futures::futures; + pub use iced_core::{ - keyboard, mouse, 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}; -pub use subscription::Subscription; #[doc(no_inline)] pub use widget::*; -- cgit