Change the item_edit blanking rectangle position and size

Change the position and size of the cell blanking with background colour
 so it does not affect the red and blue horizontal lines.
This commit is contained in:
Robert Fewell
2017-09-29 10:52:08 +01:00
parent 6ffe5ec77c
commit 6b7a06fbdb

View File

@@ -351,7 +351,7 @@ draw_background_cb (GtkWidget *widget, cairo_t *cr, gpointer user_data)
color_type = gnc_table_get_fg_color (item_edit->sheet->table, item_edit->virt_loc);
gnucash_get_style_classes (item_edit->sheet, stylectxt, color_type);
gtk_render_background (stylectxt, cr, 0, 0, width, height);
gtk_render_background (stylectxt, cr, 0, 1, width, height - 2);
gtk_style_context_restore (stylectxt);
return FALSE;