canvastable: if a cell is empty, still adjust horiz/vert coordinates so subsequent cells are aligned
This commit is contained in:
parent
378e4e7a03
commit
0e779fbec9
@ -472,7 +472,12 @@ Table::compute (Rect const & within)
|
|||||||
vshift = std::max (vshift, total_cell_height);
|
vshift = std::max (vshift, total_cell_height);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* this cell (r, c) has no item starting within it */
|
/* cell is empty, just adjust horizontal &
|
||||||
|
vertical shift values to get to the next
|
||||||
|
cell
|
||||||
|
*/
|
||||||
|
hdistance = variable_col_width * (c + 1);
|
||||||
|
vshift = std::max (vshift, variable_row_height);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user