~pkunal-parmar/ubuntu-calendar-app/Minor-Performance

« back to all changes in this revision

Viewing changes to EventView.qml

  • Committer: Frank Mertens
  • Date: 2013-03-07 00:13:06 UTC
  • mto: This revision was merged to the branch mainline in revision 6.
  • Revision ID: frank@cyblogic.de-20130307001306-33h1gg5ocivv7ocm
Allow pulling the events view upwards.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    signal incrementCurrentDay
11
11
    signal decrementCurrentDay
12
12
 
 
13
    readonly property real visibleHeight: parent.height - y
 
14
 
13
15
    QtObject {
14
16
        id: intern
15
17
        property int currentIndexSaved: 0
61
63
        height: eventView.height
62
64
        color: index == 0 ? "#FFFFFF" : index == 1 ? "#EEEEEE" : "#DDDDDD"
63
65
        Label {
64
 
            anchors.centerIn: parent
 
66
            anchors.horizontalCenter: parent.horizontalCenter
 
67
            y: units.gu(4)
65
68
            text: i18n.tr("No events for") + "\n" + Qt.formatDate(dayStart)
66
69
            fontSize: "large"
67
70
        }