As described in the following topic, using the latest snapshot of Qt
4.4, it's not possible to style the background with a solid
brush/color using a stylesheet:
http://www.qtcentre.org/forum/f-qt-designer-3/t-scrollbar-background-does-not-go-solid-when-using-stylesheets-12557.html

As also noticed in that topic, this happens for all styles as base
style, except when using the Motif and CDE styles.

The Motif style is derived from QCommonStyle, CDE is derived from
QMotifStyle, so that probably leaves QWindowsStyle as the style to
blame, as all other styles are based on that. Based on that I've
currently hacked the bug away by using a SolidPattern instead of
Dense4Pattern in $QTDIR/src/gui/styles/qwindowsstyle.cpp @ line 2218,
and by using the background color from the palette (instead of the
light color).

Not really a solution, but I don't know how the rest of it works and
have no time to get into it, so no patch, sorry :$

Hope this is enough information to fix the bug :)

To unsubscribe - send "unsubscribe" in the subject to [EMAIL PROTECTED]

Reply via email to