~notes-app-dev/reminders-app/trunk

« back to all changes in this revision

Viewing changes to src/app/qml/ui/EditNoteView.qml

  • Committer: Tarmac
  • Author(s): Riccardo Padovani
  • Date: 2014-09-05 15:07:41 UTC
  • mfrom: (191.2.7 bottomEdge)
  • Revision ID: tarmac-20140905150741-ox4n5w4ms5yhfb8n
Implemented bottomEdge.

Approved by Ubuntu Phone Apps Jenkins Bot, Michael Zanetti.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
Item {
27
27
    id: root
28
28
    property var note
 
29
    property bool isBottomEdge: false
29
30
 
30
31
    onNoteChanged: {
31
32
        for (var i = 0; i < notebookSelector.model.count; i++) {
74
75
        spacing: units.gu(1)
75
76
 
76
77
        Row {
 
78
            visible: !root.isBottomEdge
77
79
            anchors { left: parent.left; right: parent.right }
78
80
            height: units.gu(5)
79
81
            spacing: units.gu(2)
126
128
        }
127
129
 
128
130
        Divider {
 
131
            visible: !root.isBottomEdge
129
132
            anchors { leftMargin: -units.gu(2); rightMargin: -units.gu(2) }
130
133
            height: units.gu(2)
131
134
        }