Add scroll decorator

This commit is contained in:
Matti Viljanen 2019-01-08 20:06:08 +02:00
parent 244c97ad7b
commit 10fe796d1c
No known key found for this signature in database
GPG key ID: CF32A1495158F888

View file

@ -73,11 +73,12 @@ Page {
// To enable PullDownMenu, place our content in a SilicaFlickable // To enable PullDownMenu, place our content in a SilicaFlickable
SilicaFlickable { SilicaFlickable {
id: mainFlickable
anchors.fill: parent anchors.fill: parent
// Tell SilicaFlickable the height of its content.
contentHeight: column.height contentHeight: column.height
VerticalScrollDecorator { flickable: mainFlickable }
PullDownMenu { PullDownMenu {
MenuItem { MenuItem {
text: qsTr("About", "About this application") text: qsTr("About", "About this application")