From 6b7a06fbdb8fe260b5e0e3be7e8cd08cad3f9ae0 Mon Sep 17 00:00:00 2001 From: Robert Fewell <14uBobIT@gmail.com> Date: Fri, 29 Sep 2017 10:52:08 +0100 Subject: [PATCH] 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. --- gnucash/register/register-gnome/gnucash-item-edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnucash/register/register-gnome/gnucash-item-edit.c b/gnucash/register/register-gnome/gnucash-item-edit.c index 2929d89b0d..d5fd364450 100644 --- a/gnucash/register/register-gnome/gnucash-item-edit.c +++ b/gnucash/register/register-gnome/gnucash-item-edit.c @@ -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;