From 6549a6a41093f0633e89150219c1a9da453b19a6 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Sat, 2 Mar 2024 01:09:57 +0100 Subject: [PATCH] fix align_test example --- hui-examples/examples/align_test.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hui-examples/examples/align_test.rs b/hui-examples/examples/align_test.rs index a8d4aa9..03a8c9c 100644 --- a/hui-examples/examples/align_test.rs +++ b/hui-examples/examples/align_test.rs @@ -43,7 +43,7 @@ fn main() { hui.add(Container { gap: 5., padding: Sides::all(5.), - align: (Alignment::Begin, Alignment::Center).into(), + align: (Alignment::Center, Alignment::Begin).into(), size: (Size::Fraction(1.), Size::Fraction(1.)).into(), children: ElementList(vec![ Box::new(ProgressBar { @@ -57,7 +57,7 @@ fn main() { hui.add(Container { gap: 5., padding: Sides::all(5.), - align: (Alignment::End, Alignment::Center).into(), + align: (Alignment::Center, Alignment::End).into(), size: (Size::Fraction(1.), Size::Fraction(1.)).into(), children: ElementList(vec![ Box::new(ProgressBar { @@ -67,7 +67,7 @@ fn main() { }), Box::new(Container { size: (Size::Fraction(1.), Size::Auto).into(), - align: (Alignment::Center, Alignment::End).into(), + align: (Alignment::End, Alignment::Center).into(), padding: Sides::all(5.), gap: 10., children: ElementList(vec![