tqt dark: fix "In History tab, labels while edited were being clipped" - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 3ed502a72886a71081b2dccb5807933b807edc95
DIR parent 2a6b02d43e7bdd65538a42291a778a7ece6c663f
HTML 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… | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
DIR diff --git a/electrum/gui/qt/stylesheet_patcher.py b/electrum/gui/qt/stylesheet_patcher.py
t@@ -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)