PDA

View Full Version : Change background color of Scroll area



arunkumaraymuo1
28th August 2012, 08:19
I changed the background colour of QScrollArea using style sheet property of QScrollArea

But the colour changes will affect the Font dialog and Color dialog too. How I can solve this
I tried the scrollAreaWidgetcontent too that also affecting the widget color of font dialog and color picker dialogs

arunkumaraymuo1
31st August 2012, 03:56
I am trying this for several days please help me...

Ginsengelf
31st August 2012, 06:58
Hi, try to change the palette and set QPalette::Window to the colour you want.

Ginsengelf

arunkumaraymuo1
4th September 2012, 10:22
Thanks that worked perfectly......