Did you try flickable.contentY = 0? On Mon, Jan 12, 2015 at 5:06 PM, Harri Pasanen <ha...@mpaja.com> wrote:
> 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 > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest