Hi everybody
I'm trying to make round corners for contect menu.
qApp->setStyleSheet("\
QMenu {\
background-color: black;\
color: white;\
font-family: Bodoni MT;\
font-size: 18px;\
border-radius: 10px;\
border: 1px solid rgb(110, 110, 110);\
}\
QMenu::item{\
padding-top: 4px;\
padding-left: 5px;\
padding-right: 15px;\
padding-bottom: 4px;\
}\
QMenu::item:selected {\
background: rgb(40, 40, 40);\
}");
qApp->setStyleSheet("\
QMenu {\
background-color: black;\
color: white;\
font-family: Bodoni MT;\
font-size: 18px;\
border-radius: 10px;\
border: 1px solid rgb(110, 110, 110);\
}\
QMenu::item{\
padding-top: 4px;\
padding-left: 5px;\
padding-right: 15px;\
padding-bottom: 4px;\
}\
QMenu::item:selected {\
background: rgb(40, 40, 40);\
}");
To copy to clipboard, switch view to plain text mode
But I can still see the rectangular corner.
Any Idea?
Bookmarks