~ralsina/ubuntu-system-settings/notification-plugin

« back to all changes in this revision

Viewing changes to wizard/qml/Components/Page.qml

  • Committer: Roberto Alsina
  • Date: 2014-07-31 18:32:54 UTC
  • mfrom: (779.1.70 ubuntu-system-settings)
  • Revision ID: roberto.alsina@canonical.com-20140731183254-0dgi0dfspshtolbb
merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
    readonly property real topMargin: units.gu(5)
25
25
    readonly property real leftMargin: units.gu(3)
26
26
    readonly property real rightMargin: units.gu(3)
27
 
    readonly property real bottomMargin: backButton.height + breadcrumbs.height + buttonMargin * 3
 
27
    readonly property real bottomMargin: backButton.height + buttonMargin * 3
28
28
 
29
29
    property bool hasBackButton: true
30
30
    property alias forwardButtonSourceComponent: forwardButton.sourceComponent
34
34
        back: null
35
35
    }
36
36
 
37
 
    Row {
38
 
        id: breadcrumbs
39
 
        anchors {
40
 
            horizontalCenter: parent.horizontalCenter
41
 
            bottom: backButton.top
42
 
            bottomMargin: buttonMargin
43
 
        }
44
 
        spacing: units.gu(1)
45
 
 
46
 
        Repeater {
47
 
            model: pageList.numPages
48
 
            Image {
49
 
                width: units.gu(1)
50
 
                height: units.gu(1)
51
 
                source: pageList.index >= index ? "data/bullet_active@27.png" : "data/bullet_inactive@27.png"
52
 
            }
53
 
        }
54
 
    }
55
 
 
56
37
    Button {
57
38
        id: backButton
58
39
        width: buttonWidth