Insert noalign glue between alignment rows
This commit is contained in:
1 parent
3681fd95db
commit
8c3e410ffc
5 files changed
+105
-13
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user