summaryrefslogtreecommitdiff
path: root/src/layout/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/mod.rs')
-rw-r--r--src/layout/mod.rs4
1 files changed, 2 insertions, 2 deletions
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<Align>),
+ Layout(BoxLayout, BoxAlign),
/// Multiple layouts.
- Layouts(Vec<BoxLayout>, Gen<Align>),
+ Layouts(Vec<BoxLayout>, BoxAlign),
}
impl Layouted {