- Button {
- anchors.horizontalCenter: parent.horizontalCenter
- text: qsTr("View stats")
- onClicked: pageStack.push(Qt.resolvedUrl("Stats.qml"))
- }
+ width: isPortrait ? parent.width : parent.width / 2.0
+ height: isPortrait ? page.height / 2.0 : page.height
+ spacing: 0
+ y: isPortrait ? page.height / 2: 0
+ x: isPortrait ? 0 : page.width / 2.0