mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix register cell height by adding 1px for cell border
This commit is contained in:
parent
d6bb34efe7
commit
9f3a357a2a
@ -209,8 +209,8 @@ set_dimensions_pass_one (GnucashSheet *sheet, CellBlock *cursor,
|
||||
cd->pixel_height = gnc_item_edit_get_margin (item_edit, top_bottom) +
|
||||
gnc_item_edit_get_padding_border (item_edit, top_bottom);
|
||||
}
|
||||
|
||||
max_height = MAX(max_height, cd->pixel_height);
|
||||
// add 1 to cd->pixel_height to allow for a cell border
|
||||
max_height = MAX(max_height, cd->pixel_height + 1);
|
||||
|
||||
if (cd->pixel_width > 0)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user