[webkit-dev] How to Adjust scrollPosition after Frame::setZoomFactor

Nitin Mahajan nitinm76 at yahoo.com
Tue Aug 25 21:32:19 PDT 2009


I am zooming the contents of a WebFrame by calling QWebFrame::setZoomFactor. However after the zooming operation the scrollPosition remains same as before zooming. Hence, I cannot see the same content in the viewport after zooming. 

Can somebody help me understand, how to determine the correct post zooming scrollPosition so that I can call setScrollPosition with appropriate args and I can see the same content in the view port even after zooming?



      Get your new Email address!
Grab the Email name you've always wanted before someone else does!

More information about the webkit-dev mailing list