Solved how to change the background color of context menu
-
when I set the widget background color through qss such as
QWidget {
background-color : blue;
border-radius: 8px;
}
the context menu color is also set , when right click on the lineedit, its contextmenu background is also blue
how to change it to other color? -
I think I know
use QMenu to reset the color -
@johnson54 Can you tell me how to do this? i am new in qt.