PDA

View Full Version : Background Style Disables QScrollBar "Drag" Action



brent99
3rd June 2008, 20:49
When I set a background color for my QWidget using QStyle, I lose the ability to "drag" the scroll bar that I placed on this QWidget. This is linux, 4.4.0.

Help?

brent99
3rd June 2008, 21:16
I used this code from QTtForum:


QPalette pal = palette();
pal.setColor( QPalette::Window, Qt::black );
setPalette( pal );

Its happy with this!