How can i do color labels in QMenu with Qss
-
How can i do color labels in QMenu with Qss, i try many ways but cant do it
-
Have you tried QMenu::item?
http://doc.qt.nokia.com/latest/stylesheet-examples.html#customizing-qmenu
-
I try but it is dosnt worke
-
How can i set the font color for the any class?
-
You mean setting font color for all widgets? You can use
@- {}
@
- {}
-
Could you paste your Qss code which is not working?
-
I find it:
@QMenu{
color: red;
}@
Many thanks for your help!
Is interesting why so, why developers dont make it is as:
@font-color:@