Browse Source
qt PreviewTxDialog: change feerounding_icon to be a QToolButton
QPushButtons with dark theme have a huge min width (they have text in mind)
related: #6300
bip39-recovery
SomberNight
5 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
3 additions and
3 deletions
-
electrum/gui/qt/transaction_dialog.py
|
|
@ -727,9 +727,9 @@ class PreviewTxDialog(BaseTxDialog, TxEditor): |
|
|
|
_('Also, when batching RBF transactions, BIP 125 imposes a lower bound on the fee.')) |
|
|
|
self.show_message(title=_('Fee rounding'), msg=text) |
|
|
|
|
|
|
|
self.feerounding_icon = QPushButton(read_QIcon('info.png'), '') |
|
|
|
self.feerounding_icon.setFixedWidth(round(2.2 * char_width_in_lineedit())) |
|
|
|
self.feerounding_icon.setFlat(True) |
|
|
|
self.feerounding_icon = QToolButton() |
|
|
|
self.feerounding_icon.setIcon(read_QIcon('info.png')) |
|
|
|
self.feerounding_icon.setAutoRaise(True) |
|
|
|
self.feerounding_icon.clicked.connect(feerounding_onclick) |
|
|
|
self.feerounding_icon.setVisible(False) |
|
|
|
|
|
|
|