Insert noalign glue between alignment rows

This commit is contained in:
gloamxun committed 2026-10-24 01:10:49 +08:00
1 parent 3681fd95db
commit 8c3e410ffc
5 files changed
+105 -13

No files matched your search

+2 -2
View File
@@ -290,7 +290,7 @@ impl Halign {
width: self.width,
height,
});
y += height;
y += height + self.row_gap(row_index);
continue;
}
let row_height = self.row_height(row_index);
@@ -326,7 +326,7 @@ impl Halign {
});
}
}
y += row_height;
y += row_height + self.row_gap(row_index);
}
for rule in self.rules.iter().filter(|rule| rule.row == self.rows.len()) {
let (x, width) = self.rule_rect(rule);