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.