[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [plasma-framework] src/declarativeimports/calendar/qml: calendar: Make the entire header area clicka
From:       David Rosca <nowrep () gmail ! com>
Date:       2015-10-31 21:28:25
Message-ID: E1ZsdhJ-0005T4-MT () scm ! kde ! org
[Download RAW message or body]

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()
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic