Georges Basile Stavracas Neto
e59910f0e9
month-view: rewrite was a template widget
2017-10-06 20:32:00 -03:00
Georges Basile Stavracas Neto
8f34049793
views: sync header labels' style
...
The Week view exposed a bug where we had different
CSS selectors for the exact same label. This made
them look inconsistent, with different colors and
paddings.
Fix that by ensuring they all use the same style
class. The Year view drawing code needed to be
reworked a little.
https://bugzilla.gnome.org/show_bug.cgi?id=778391
2017-02-09 10:28:28 -02:00
Abishek
78a463ab53
week-header: align month_label, week_label and year_label
...
There was a small alignment issue with week_label, month_label and
year_label in week-view.
Change the y-align property of month_label,week_label and year_label
in week-header.ui to 0, so that they are aligned properly.
https://bugzilla.gnome.org/show_bug.cgi?id=777417
2017-01-30 14:44:26 -02:00
Georges Basile Stavracas Neto
f013d7442e
week-header: fix event margins
2016-12-15 17:09:45 -02:00
Georges Basile Stavracas Neto
ffaf7153d7
week-header: implement event creation
2016-12-14 17:00:11 -02:00
Georges Basile Stavracas Neto
b8a297fdde
week-header: small ui fix
...
Add 2px at the bottom so events don't overlap with the
bottom line.
2016-12-08 18:31:01 -02:00
Georges Basile Stavracas Neto
21c9f721ae
week-header: properly propagate height when expanded
2016-12-08 16:10:46 -02:00
Georges Basile Stavracas Neto
7e68588cfb
week-header: rework drawing model
2016-12-08 03:09:35 -02:00
Georges Basile Stavracas Neto
f50a258f05
week-header: fix initial overflow check
2016-12-08 03:09:35 -02:00
Georges Basile Stavracas Neto
2e7c6c8c58
week-header: visual improvements
2016-12-01 23:48:54 -02:00
Georges Basile Stavracas Neto
2298379e51
week-header: reorganize widgets
...
Instead of a box inside the overlay, put the overlay inside the
box.
2016-12-01 23:48:54 -02:00
Georges Basile Stavracas Neto
154a01f4c1
week-view, week-grid: various fixed
...
This commit is a rebase, compile-warning remover and a
misbehaviour fixer too.
2016-12-01 23:48:53 -02:00
pandusonu2
4b1ff14b6a
week-header: work around with GtkOverlay error
...
Using the height request function to fix the error with height allocation of GtkOverlay widget.
2016-12-01 23:48:53 -02:00
pandusonu2
7927d3b11f
week-header: add support for expanded and collapsed mode
...
Add the expand button and the functions require to expand and collapse the header.
2016-12-01 23:48:53 -02:00
pandusonu2
d6ef05b31d
week-header: adjust theming to match the mockups
...
Set correct font weight, size and draw lines where required.
2016-12-01 23:48:53 -02:00
pandusonu2
665f91701b
week-header: set correct padding for the grid
...
Set the margin top, left, and right for the grid, according to the mockups.
2016-12-01 23:48:53 -02:00
pandusonu2
62d8fdc057
week-header: manage event display, position and removal
...
Manage the displaying, positioning and removal of events in the week-header.
2016-12-01 23:48:53 -02:00
Georges Basile Stavracas Neto
a43df17b08
week-header: turn into a GtkGrid
...
If the header is a GtkScrolledWindow, all the content
(including the top labels and week names) are scrolled.
This is a wrong behavior, since only the events should
be scrollable.
Fix that by making GcalWeekHeader a GtkGrid, and adding
the scrolled window in the correct position.
2016-12-01 23:48:53 -02:00
pandusonu2
188d7742b4
week-view: display events in header
...
Displaying events in the week-header based on duration of the event.
2016-12-01 23:48:53 -02:00
pandusonu2
1122b24216
week-header: modify the draw() to match mockup
...
Made changes in the draw() to match the mockups.
2016-12-01 23:48:53 -02:00
pandusonu2
69cade3d77
week-header: created the basic skeleton of the week-header
...
Created the .h, .c and .ui file of week header. Also made changes in the Makefile.am for it to get built.
2016-12-01 23:48:52 -02:00