summaryrefslogtreecommitdiff
path: root/src/library/grid.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/grid.rs')
-rw-r--r--src/library/grid.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/library/grid.rs b/src/library/grid.rs
index c9accffb..f247c7f4 100644
--- a/src/library/grid.rs
+++ b/src/library/grid.rs
@@ -167,7 +167,8 @@ impl<'a> GridLayouter<'a> {
cols.pop();
rows.pop();
- // We use the regions only for auto row measurement and constraints.
+ // We use the regions for auto row measurement. Since at that moment,
+ // columns are already sized, we can enable horizontal expansion.
let expand = regions.expand;
regions.expand = Spec::new(true, false);