1
0

qt PreviewTxDialog: fix sizing of fee edits

follow-up to cfdadeda67
This commit is contained in:
SomberNight
2021-09-08 16:36:07 +02:00
parent c338cebe55
commit c84b873339

View File

@@ -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()