From 991e879e1d2ed53125dbff4edba80804ff28f2a9 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 17 Oct 2019 19:21:47 +0200 Subject: =?UTF-8?q?Extend=20stack=20layouts=20from=20vertical=20to=20horiz?= =?UTF-8?q?ontal=20flows=20=E2=9E=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/flex.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/layout/flex.rs') diff --git a/src/layout/flex.rs b/src/layout/flex.rs index a6f2e091..b97b4239 100644 --- a/src/layout/flex.rs +++ b/src/layout/flex.rs @@ -90,7 +90,7 @@ impl FlexLayouter { ctx, units: vec![], - stack: StackLayouter::new(StackContext::from_flex_ctx(ctx)), + stack: StackLayouter::new(StackContext::from_flex_ctx(ctx, Flow::Vertical)), usable_width: ctx.space.usable().x, run: FlexRun { -- cgit v1.2.3