summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/library/layout/grid.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/library/layout/grid.rs b/src/library/layout/grid.rs
index afd08aee..1028188e 100644
--- a/src/library/layout/grid.rs
+++ b/src/library/layout/grid.rs
@@ -362,6 +362,7 @@ impl<'a> GridLayouter<'a> {
if let Some(node) = self.cell(x, y) {
let mut pod = self.regions.clone();
pod.first.x = rcol;
+ pod.base.x = rcol;
// All widths should be `rcol` except the base for auto columns.
if self.cols[x] == TrackSizing::Auto {
@@ -500,6 +501,7 @@ impl<'a> GridLayouter<'a> {
for (x, &rcol) in self.rcols.iter().enumerate() {
if let Some(node) = self.cell(x, y) {
pod.first.x = rcol;
+ pod.base.x = rcol;
// All widths should be `rcol` except the base for auto columns.
if self.cols[x] == TrackSizing::Auto {