1
0

qt dark style: bandaid for dropdown item heights

see #6281
This commit is contained in:
SomberNight
2020-06-28 03:46:20 +02:00
parent 8d0c03caff
commit 93a4969fba

View File

@@ -22,5 +22,12 @@ def patch_qt_stylesheet(use_dark_theme: bool) -> None:
padding: 0px;
show-decoration-selected: 1;
}
/* Checked item in dropdowns have way too much height...
see #6281 and https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/200
*/
QComboBox::item:checked {
font-weight: bold;
max-height: 30px;
}
'''
app.setStyleSheet(style_sheet)