calendar: Make the entire header area clickable

This makes the entire header area clickable (not just the header label).

REVIEW: 125899
This commit is contained in:
David Rosca 2015-10-31 22:18:06 +01:00
parent 2ca48a7d2d
commit 5dc3f0ac7f

View File

@ -99,12 +99,7 @@ Item {
id: monthMouse id: monthMouse
property int previousPixelDelta property int previousPixelDelta
width: heading.paintedWidth anchors.fill: parent
anchors {
left: parent.left
top: parent.top
bottom: parent.bottom
}
onClicked: { onClicked: {
if (!stack.busy) { if (!stack.busy) {
daysCalendar.headerClicked() daysCalendar.headerClicked()