From 10fe796d1c9718ab9eecdfd766cfc2e6eb943cae Mon Sep 17 00:00:00 2001 From: Matti Viljanen Date: Tue, 8 Jan 2019 20:06:08 +0200 Subject: [PATCH] Add scroll decorator --- qml/pages/MainPage.qml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/qml/pages/MainPage.qml b/qml/pages/MainPage.qml index 89ce977..ef9728a 100644 --- a/qml/pages/MainPage.qml +++ b/qml/pages/MainPage.qml @@ -73,11 +73,12 @@ Page { // To enable PullDownMenu, place our content in a SilicaFlickable SilicaFlickable { + id: mainFlickable anchors.fill: parent - - // Tell SilicaFlickable the height of its content. contentHeight: column.height + VerticalScrollDecorator { flickable: mainFlickable } + PullDownMenu { MenuItem { text: qsTr("About", "About this application")