QMenuBar CSS problem
General and Desktop
6
Posts
3
Posters
4.9k
Views
1
Watching
-
Hi every body,
i have a problèm with stylesheet for QMenuBar i want to customize my bar menu on color gray (see the picture)
http://i.stack.imgur.com/rYqyP.png
please i need your help i used all technique Stylesheet and pallette it does’nt work :(
-
You have to set styles to the item:
@QMenuBar::item {}@
and to style the selected item:
@QMenuBar::item:selected { }@
-
I'm sorry! Try this:
@QMenu::item
{
background-color: rgb(125, 125, 125)
}QMenu::item:selected
{
background-color: rgb(125, 125, 125)
}QMenu::item:disabled
{
background-color: rgb(125, 125, 125)
}@