I have a problem with scrollbars in my QWebView. I need them to never be displayed. I've tried the following:
webView->page()->mainFrame()->setScrollBarPolicy(Qt::Horizontal, Qt::ScrollBarAlwaysOff); webView->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff); Since I figured the page may be destroyed between reloads, I run those two commands after setUrl() as well. However, I ALWAYS get the behavior of Qt::ScrollBarAsNeeded. I have verified via qDebug that the value is Qt::ScrollBarAlwaysOff, but scrollbars are still drawn when the QWebView is made small. Anyone know why this is or how to fix it? Thanks, Chris Kurecka Zattoo Software Engineer _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
