Browse Source

qt PreviewTxDialog: fix sizing of fee edits

follow-up to cfdadeda67
patch-4
SomberNight 3 years ago
parent
commit
c84b873339
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 1
      electrum/gui/qt/amountedit.py

1
electrum/gui/qt/amountedit.py

@ -28,6 +28,7 @@ class SizedFreezableLineEdit(FreezableLineEdit):
super().__init__(parent)
self._width = width
self.setSizePolicy(QSizePolicy.Preferred, QSizePolicy.Fixed)
self.setMaximumWidth(width)
def sizeHint(self) -> QSize:
sh = super().sizeHint()

Loading…
Cancel
Save