tqt dark style: bandaid for dropdown item heights - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 93a4969fba90ef524caf4ae400c7a3dfb41e59f4 DIR parent 8d0c03caff5879edb0c038d33602fc3721109f32 HTML Author: SomberNight <somber.night@protonmail.com> Date: Sun, 28 Jun 2020 03:46:20 +0200 qt dark style: bandaid for dropdown item heights see #6281 Diffstat: M electrum/gui/qt/stylesheet_patcher… | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) --- DIR diff --git a/electrum/gui/qt/stylesheet_patcher.py b/electrum/gui/qt/stylesheet_patcher.py t@@ -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)