[Qt-interest] setScrollBarPolicy(Qt::Horizontal,Qt::ScrollBarAlwaysOff); does not work

Nitin Mahajan nitinm76 at yahoo.com
Fri Dec 26 04:29:16 CET 2008


Hi!

While working with the demo browser application I did, 

frame->setScrollBarPolicy(Qt::Horizontal,Qt::ScrollBarAlwaysOff);
frame->setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff);

The
frame->setScrollBarPolicy(Qt::Vertical,Qt::ScrollBarAlwaysOff) works
for me, however
setScrollBarPolicy(Qt::Horizontal,Qt::ScrollBarAlwaysOff); does not
work and I can still see the horizontal scroll bar on the demo browser
application.

Is this some known bug, or I am doing something wrong here? I am using beta release for the qt-4.5 embedded Linux.

regards

-Nitin


      New Email names for you! 
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/




More information about the Qt-interest-old mailing list