X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=qml%2Fpages%2FMainPage.qml;h=5c0c16bdda3d7867c75a938ff70ecdf0abaa8790;hp=0de4dc48f2af2996e0a867c62cec4a92ee1f59fb;hb=5fc520bad80dccf9bf2e0f16552c9f2605417067;hpb=cc1952786f991bf5d584bbbffb554b0c40cec401 diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 0de4dc4..5c0c16b 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -11,16 +11,18 @@ Page { SilicaFlickable { anchors.fill: parent + VerticalScrollDecorator {} + // PullDownMenu and PushUpMenu must be declared in SilicaFlickable, SilicaListView or SilicaGridView PullDownMenu { MenuItem { - text: qsTr("Show Page 2") - onClicked: pageStack.push(Qt.resolvedUrl("SecondPage.qml")) + text: qsTr("About") + onClicked: pageStack.push(Qt.resolvedUrl("About.qml")) } } // Tell SilicaFlickable the height of its content. - contentHeight: column.height + contentHeight: column.implicitHeight + Theme.paddingLarge // Place our content in a Column. The PageHeader is always placed at the top // of the page, followed by our content.