[Qt-interest] problem with style sheets and qscrollbar

Olivier Goffart ogoffart at trolltech.com
Fri Mar 13 15:18:06 CET 2009


On Monday 09 March 2009 12:09:14 Looki Angel wrote:
> hello,
> im having a problem with style sheets, regarding the QScrollbar.
> as you can see in the attached picture, there appears a white rectangle
> when the vertical and horizontal scrollbar are visible.
>
> i wonder how to remove that rectangle.
> nothing works not even
> *{
> background-color:red;
> }
>
> im guessing that the style simply doesnt ask the style sheet, how to draw
> that area.
>
> this problem occurs since qt4.5
>
> thank you for helping.

Try  QScrollAreal::corner {background-color:red; }




More information about the Qt-interest-old mailing list