SomberNight
3 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
1 additions and
0 deletions
-
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() |
|
|
|