Add scroll decorator
This commit is contained in:
parent
244c97ad7b
commit
10fe796d1c
1 changed files with 3 additions and 2 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue