Browse Source

qt dark style: bandaid for dropdown item heights

see #6281
bip39-recovery
SomberNight 5 years ago
parent
commit
93a4969fba
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 7
      electrum/gui/qt/stylesheet_patcher.py

7
electrum/gui/qt/stylesheet_patcher.py

@ -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)

Loading…
Cancel
Save