QWebView as child widget. Page position problem.



  • Hello,

    I'm trying to add a QWebView, on top of another QWebView as a child widget:

    @ QRect geometry(x, y, height, width);
    QWebViewer * subWindow = new QWebViewer(this);
    subWindow->setGeometry(geometry);
    subWindow->load(QUrl(url));
    subWindow->show();@

    The new child widget is placed as expected. However, everytime I load
    a website, the upper left corner of the page changes position like this:

    "Image here":http://dl.dropbox.com/u/46347178/Untitled.png

    The initial position of the child viewer is correct, but after multiple loads,
    the window ends up looking like that.

    I wonder if anyone has come across this issue, and hopefully had found
    a way to fix it.

    Thank you,

    Sergio



  • I updated the libraries and the problem was gone.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.