Browse Source

qt dark: fix "In History tab, labels while edited were being clipped"

regtest_lnd
SomberNight 6 years ago
parent
commit
3ed502a728
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 9
      electrum/gui/qt/stylesheet_patcher.py

9
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)

Loading…
Cancel
Save