From kde-commits Sat Oct 31 21:28:25 2015 From: David Rosca Date: Sat, 31 Oct 2015 21:28:25 +0000 To: kde-commits Subject: [plasma-framework] src/declarativeimports/calendar/qml: calendar: Make the entire header area clicka Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=144632692731959 Git commit 5dc3f0ac7f0e3417e32d2b2babe1bd0a456dd739 by David Rosca. Committed on 31/10/2015 at 21:18. Pushed by drosca into branch 'master'. calendar: Make the entire header area clickable This makes the entire header area clickable (not just the header label). REVIEW: 125899 M +1 -6 src/declarativeimports/calendar/qml/DaysCalendar.qml http://commits.kde.org/plasma-framework/5dc3f0ac7f0e3417e32d2b2babe1bd0a456= dd739 diff --git a/src/declarativeimports/calendar/qml/DaysCalendar.qml b/src/dec= larativeimports/calendar/qml/DaysCalendar.qml index a1d84d4..3ab16eb 100644 --- a/src/declarativeimports/calendar/qml/DaysCalendar.qml +++ b/src/declarativeimports/calendar/qml/DaysCalendar.qml @@ -99,12 +99,7 @@ Item { id: monthMouse property int previousPixelDelta = - width: heading.paintedWidth - anchors { - left: parent.left - top: parent.top - bottom: parent.bottom - } + anchors.fill: parent onClicked: { if (!stack.busy) { daysCalendar.headerClicked()