Allow room for the border on the item_edit button

This commit is contained in:
Robert Fewell 2019-12-16 14:51:08 +00:00
parent b7f67bb387
commit 3d2e2c2348

View File

@ -565,7 +565,8 @@ draw_arrow_cb (GtkWidget *widget, cairo_t *cr, gpointer data)
gint height = gtk_widget_get_allocated_height (widget); gint height = gtk_widget_get_allocated_height (widget);
gint size; gint size;
gtk_render_background (context, cr, 0, 0, width, height); // allow room for a border
gtk_render_background (context, cr, 2, 2, width - 4, height - 4);
gtk_style_context_add_class (context, GTK_STYLE_CLASS_ARROW); gtk_style_context_add_class (context, GTK_STYLE_CLASS_ARROW);