Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.6.2
-
None
-
Windows 7 x64
-
0318f0d5a43a78831f3bf4cb043d0b2b41cd9987
Description
If you try to set a border on a QMenu, the color setting is ignored. For example:
menu->setStyleSheet("border: 1px solid #ff0000");
The 1px border is drawn, but the red color attribute is ignored. Setting the CSS attribute "border-color" is also ignored.
This bug seems identical to #222978 but I am seeing it with Qt 4.6.2 on Windows, although the existing bug report states that it was fixed in 4.5. I also tried 4.5.2 on Linux and it works as expected.