[evolution] I#870 - e-day-view: Add a gap between adjacent events



commit c65d13027169caa4a289e08e6e5c329df1379724
Author: Milan Crha <mcrha redhat com>
Date:   Tue Apr 14 13:37:17 2020 +0200

    I#870 - e-day-view: Add a gap between adjacent events
    
    Closes https://gitlab.gnome.org/GNOME/evolution/-/issues/870

 src/calendar/gui/e-day-view-main-item.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/calendar/gui/e-day-view-main-item.c b/src/calendar/gui/e-day-view-main-item.c
index 962c94fa1e..35840f261b 100644
--- a/src/calendar/gui/e-day-view-main-item.c
+++ b/src/calendar/gui/e-day-view-main-item.c
@@ -461,7 +461,7 @@ day_view_main_item_draw_day_event (EDayViewMainItem *main_item,
                x0 = item_x + E_DAY_VIEW_BAR_WIDTH;
                y0 = item_y;
                rect_width = item_w - E_DAY_VIEW_BAR_WIDTH;
-               rect_height = item_h - 1;
+               rect_height = item_h - 2;
 
                cairo_rectangle (cr, x0, y0, rect_width, rect_height);
                gdk_cairo_set_source_rgba (cr, &bg_rgba);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]