Details
-
Task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
-
Ubuntu 9.10, but this should happen everywhere
Description
The line 215 of qtcolortriangle.cpp of the QtColorTriangle at http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Widgets/qtcolortriangle uses the following code:
p.fillRect(bg.rect(), palette().mid());
as a result, it shows the background as a kind of dark gray compared to the smooth light gray of the rest of the application.
As a work around I replaced that line with:
p.fillRect(bg.rect(), palette().background());
Which works decently, but I think the overall class would need a serious rewrite. It looks like kinda old code, and it'd be much better if it used a transparent background instead of my palette background hack. I've tried setting it to Qt::transparent without success (shows black background),