PDA

View Full Version : Hide scrollbar in QWebView



kevandju
25th January 2011, 17:31
I have this in my code

webView0->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical, Qt::ScrollBarAlwaysOff);

And I even have overflow:hidden; in my CSS file and yet when I run my app in Ubuntu I still display a vertical scroll bar in my QtWebKit window.

I have no issues in Windows, just in Ubuntu (only Linux flavor i've tried so far). Does anyone have any ideas?