File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -82,10 +82,12 @@ Page {
82
82
id: continueButton
83
83
visible: root .buttonText .length > 0
84
84
enabled: visible
85
+ width: Math .min (300 , parent .width - 2 * anchors .leftMargin )
85
86
anchors .topMargin : 40
86
87
anchors .bottomMargin : 60
87
88
anchors .leftMargin : 20
88
89
anchors .rightMargin : 20
90
+ anchors .horizontalCenter : parent .horizontalCenter
89
91
text: root .buttonText
90
92
onClicked: root .lastPage ? swipeView .finished = true : swipeView .incrementCurrentIndex ()
91
93
}
@@ -99,9 +101,6 @@ Page {
99
101
target: continueButton
100
102
anchors .top : undefined
101
103
anchors .bottom : continueButton .parent .bottom
102
- anchors .right : continueButton .parent .right
103
- anchors .left : continueButton .parent .left
104
- anchors .horizontalCenter : undefined
105
104
}
106
105
},
107
106
State {
@@ -110,9 +109,6 @@ Page {
110
109
target: continueButton
111
110
anchors .top : information .bottom
112
111
anchors .bottom : undefined
113
- anchors .left : undefined
114
- anchors .right : undefined
115
- anchors .horizontalCenter : parent .horizontalCenter
116
112
}
117
113
}
118
114
]
You can’t perform that action at this time.
0 commit comments