ciarlond
5th March 2012, 16:58
Hi
I would like to change the background color to the default context menu. I am referring to the DefaultContextMenu that appears when right-clicking on the QLineEdit.
I tried changing the stylesheet as follow but it does not produce any changes.
QLineEdit:ContextMenu {
background-color: rgb( 224,224,224);
}
Is there a way to identify the context menu background color? (via style-sheet)
thanks
davide
I would like to change the background color to the default context menu. I am referring to the DefaultContextMenu that appears when right-clicking on the QLineEdit.
I tried changing the stylesheet as follow but it does not produce any changes.
QLineEdit:ContextMenu {
background-color: rgb( 224,224,224);
}
Is there a way to identify the context menu background color? (via style-sheet)
thanks
davide