1
0
Fork 0

Fix the appearance of a checked menu with icon in the dark theme

This commit is contained in:
Duncan Ogilvie 2022-12-08 15:09:25 +01:00
parent 584b63ddc6
commit b5a3233bd4
1 changed files with 9 additions and 0 deletions

View File

@ -205,6 +205,14 @@ QMenu::icon {
margin: 5px;
}
QMenu::icon:checked { /* appearance of a 'checked' icon */
background: #383838;
border: 1px inset #878787;
position: absolute;
margin: 1px;
padding: 3px;
}
QMenu::item {
padding: 5px 30px 5px 30px;
border: 1px solid transparent;
@ -225,6 +233,7 @@ QMenu::separator {
QMenu::indicator {
width: 18px;
height: 18px;
padding-left: 4px;
}