From 91e512069396f1de616ec2b0fe0cd31a76e7f2e9 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Tue, 13 Oct 2020 13:51:58 +0200 Subject: =?UTF-8?q?BoxAlign=20and=20Flow=20aliases=20=E2=9C=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/layout/mod.rs') diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 362e5a7f..4dd6184f 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -128,9 +128,9 @@ pub enum Layouted { /// Spacing that should be added to the parent. Spacing(Length), /// A layout that should be added to and aligned in the parent. - Layout(BoxLayout, Gen), + Layout(BoxLayout, BoxAlign), /// Multiple layouts. - Layouts(Vec, Gen), + Layouts(Vec, BoxAlign), } impl Layouted { -- cgit v1.2.3