Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
4.7.2
-
None
-
Qt 4.7.2 on OSX 10.6, both Qt Carbon and Qt Cocoa
Description
Disabled QLabel's on OSX should use a mid gray, not a dark gray color. Attached are two screenshots of native applications that look correct, and a screenshot of QtCreator2.2RC that looks incorrect. The disabled label is not black, but also not mid gray. The dark gray that is being used currently is very close to black and not subdued enough. I'm currently working around this bug with the following:
//use a more subdued disabled appearance for disabled labels
QString styleSheet = "QLabel:disabled
";
setStyleSheet(styleSheet);
The problem with this approach is that if for a given label I for some bizarre reason I want the disabled color to be something other than 7F7F7F then I have to use a style sheet and not the QPalette to change the disabled window text color. Ideally this bug would be fixed in Qt's Mac style.
Note I've noticed this with both Qt/Carbon and Qt/Cocoa.