commit 3ed502a72886a71081b2dccb5807933b807edc95 parent 2a6b02d43e7bdd65538a42291a778a7ece6c663f Author: SomberNight <somber.night@protonmail.com> Date: Wed, 8 May 2019 16:31:56 +0200 qt dark: fix "In History tab, labels while edited were being clipped" Diffstat:
M | electrum/gui/qt/stylesheet_patcher.py | | | 9 | ++++++++- |
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/electrum/gui/qt/stylesheet_patcher.py b/electrum/gui/qt/stylesheet_patcher.py @@ -13,6 +13,13 @@ def patch_qt_stylesheet(use_dark_theme: bool) -> None: style_sheet = app.styleSheet() style_sheet = style_sheet + ''' - QAbstractScrollArea { padding: 0px; } + /* PayToEdit text was being clipped */ + QAbstractScrollArea { + padding: 0px; + } + /* In History tab, labels while edited were being clipped (Windows) */ + QAbstractItemView QLineEdit { + padding: 0px; + } ''' app.setStyleSheet(style_sheet)