diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-11-16 21:32:29 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-11-16 21:32:29 +0100 |
| commit | 9a800daa82833c57eee04e92c701ca9a05a67d3b (patch) | |
| tree | a2c790f606037319393e9da3150bf58b44d4171d /src/library/grid.rs | |
| parent | 0cdf17216f47312f634d2dea8db237118ede72ce (diff) | |
Image fit modes
Diffstat (limited to 'src/library/grid.rs')
| -rw-r--r-- | src/library/grid.rs | 3 |
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); |
