[Interest] QML ScrollView, programmatic scroll?
Harri Pasanen
harri at mpaja.com
Mon Jan 12 15:06:44 CET 2015
Hi,
Is the a way to set the ScrollView scroll amount?
Actually, for me going to beginning would suffice at this point.
I have something like below
ScrollView {
id: flickable
anchors.fill: parent
Text {
id: webView
text: html
textFormat: Text.RichText
wrapMode: Text.Wrap
onLinkActivated: {
text = "new long contents here, would like should be
visible from the top"
}
}
}
Now when a link is clicked and user has already scrolled down, the
new contents also appear as if already scrolled.
Any hints?
Harri
More information about the Interest
mailing list