Do not make the first row height smaller

Change the first row to be like all others, top and bottom borders to
be offset by - 0.5 and so use the header border as the top border of
first row.
This commit is contained in:
Robert Fewell 2017-08-03 16:34:38 +01:00
parent 64b9872e36
commit 66aa691a98

View File

@ -421,10 +421,10 @@ draw_cell (GnucashSheet *sheet,
/* top */
draw_cell_line (cr, bg_color,
(borders.top >= borders.left ? x : x + 1.0),
(y == 0 ? y + 0.5 : y - 0.5),
y - 0.5,
(borders.top >= borders.right ?
x + width : x + width - 1),
(y == 0 ? y + 0.5 : y - 0.5),
y - 0.5,
borders.top);
/* bottom */