[gnome-calendar/wip/pandusonu/week-view: 17/31] week-header: set line width and height as in mockup
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/wip/pandusonu/week-view: 17/31] week-header: set line width and height as in mockup
- Date: Wed, 2 Nov 2016 16:08:33 +0000 (UTC)
commit cc515ed5b15daa244c779bea0739d8000096852e
Author: pandusonu2 <pandu sonu yahoo com>
Date: Tue Jun 21 21:52:31 2016 +0530
week-header: set line width and height as in mockup
Set the divider line width and height to match the mockup.
src/views/gcal-week-header.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/views/gcal-week-header.c b/src/views/gcal-week-header.c
index c2d2280..e3c7490 100644
--- a/src/views/gcal-week-header.c
+++ b/src/views/gcal-week-header.c
@@ -403,7 +403,8 @@ gcal_week_header_draw (GcalWeekHeader *self,
cairo_move_to (cr,
cell_width * i + sidebar_width - 3,
font_height + padding.bottom + 3);
- cairo_rel_line_to (cr, 0.0, ALL_DAY_CELLS_HEIGHT);
+ cairo_set_line_width (cr, 0.25);
+ cairo_rel_line_to (cr, 0.0, gtk_widget_get_allocated_height (self->draw_area));
cairo_stroke (cr);
cairo_restore (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]