mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Set margins correctly for empty rows
Calling breakRow ensures that everything is set correctly.
This commit is contained in:
parent
fae1cd6af0
commit
b4d85944a6
@ -478,7 +478,7 @@ bool TextMetrics::redoParagraph(pit_type const pit)
|
||||
pm.rows().push_back(Row());
|
||||
Row & row = pm.rows()[row_index];
|
||||
row.pos(first);
|
||||
row.endpos(first);
|
||||
breakRow(row, right_margin, pit);
|
||||
setRowHeight(row, pit);
|
||||
row.setChanged(false);
|
||||
int const max_row_width = max(dim_.wid, row.width());
|
||||
|
Loading…
Reference in New Issue
Block a user