Hi Rudi, The content height of the web page equals to the height of the SilicaWebView. Thus, there is nothing to pan/flick. If you decrease height of the SilicaWebView, content becomes to be a pannable. Also notice that virtual keyboard will alter the height of the SilicaWebView if binding is like it is at below.
Page { id: page SilicaWebView { url: "https://www.messenger.com/login"<https://www.messenger.com/login> width: parent.width height: parent.height / 2 } } If you are looking for programmatic scrolling from qml code -- not initiated by user. You have two options (at least): 1) Use contentX and contentY of the SilicaWebView (not animated) 2) Use flick(xVelocity, yVelocity) of the SilicaWebView, velocity is pixels/sec. (similar to user initiated flick) Hope this helps, Raine ________________________________ Lähettäjä: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] käyttäjän Rudi Timmermans [rudi.tim...@gmx.us] puolesta Lähetetty: 7. kesäkuuta 2015 18:43 Vastaanottaja: devel@lists.sailfishos.org Aihe: [SailfishDevel] SilicaWebView Hi, I like to using scroll on the webpage i using in my qml code. This is the code, i have try already many thing i have found but i can not get it on working ... Page { id: page SilicaWebView { url: "https://www.messenger.com/login"<https://www.messenger.com/login> anchors.fill: parent overridePageStackNavigation: true experimental.preferences.developerExtrasEnabled: true Do have anyone a idea the fix this ? Thanks! -- --- Best regards! Rudi Timmermans.
_______________________________________________ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org