From 3ed502a72886a71081b2dccb5807933b807edc95 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 8 May 2019 16:31:56 +0200 Subject: [PATCH] qt dark: fix "In History tab, labels while edited were being clipped" --- 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 index 4699c4cd4..1a313ac2e 100644 --- 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)