Should VerticalScrollDecorator work with SilicaFlickable? [answered]
I am having trouble with adding VerticalScrollDecorator to a SilicaFlickable page containing large amount of words in a column in a label.
Should this code example produce vertical scroll decorator when the text goes out of screen? Have I misunderstood some basic positioning rules or does the text wrapping confuse vertical scroll decorator somehow?
import QtQuick 2.0
import Sailfish.Silica 1.0
Page {
id: helpPage
SilicaFlickable {
id: help
anchors.fill: parent;
VerticalScrollDecorator { flickable: help }
Column {
width: parent.width
PageHeader {
title: qsTr("Help and user guide")
}
Label {
x: Theme.paddingMedium
width: parent.width-2*Theme.paddingMedium;
wrapMode: Text.WrapAtWordBoundaryOrAnywhere;
textFormat: Text.RichText;
text: qsTr("Many rows of text...") +'<br/>'+
qsTr("Row 2")+'<br/>'+
qsTr("Row 3")
}
}
}