diff options
Diffstat (limited to 'src/layout/tree.rs')
| -rw-r--r-- | src/layout/tree.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/layout/tree.rs b/src/layout/tree.rs index 2c904369..3a58115f 100644 --- a/src/layout/tree.rs +++ b/src/layout/tree.rs @@ -96,6 +96,7 @@ impl<'a, 'p> TreeLayouter<'a, 'p> { let mut ctx = self.ctx; ctx.style = &self.style; + ctx.flow = Flow::Vertical; ctx.shrink_to_fit = true; ctx.space.dimensions = remaining; ctx.space.padding = SizeBox::zero(); |
