electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 93a4969fba90ef524caf4ae400c7a3dfb41e59f4
parent 8d0c03caff5879edb0c038d33602fc3721109f32
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:
Melectrum/gui/qt/stylesheet_patcher.py | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/electrum/gui/qt/stylesheet_patcher.py b/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)