Merge pull request #10360 from f321x/qt_fix_lightning_icon_gossip_sync
qt: make ElectrumWindow.lightning_button wider
This commit is contained in:
@@ -1941,7 +1941,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, Logger, QtEventListener):
|
|||||||
self.lightning_button.setText('')
|
self.lightning_button.setText('')
|
||||||
self.lightning_button.setToolTip(_("The Lightning Network graph is fully synced."))
|
self.lightning_button.setToolTip(_("The Lightning Network graph is fully synced."))
|
||||||
else:
|
else:
|
||||||
self.lightning_button.setMaximumWidth(25 + 5 * char_width_in_lineedit())
|
self.lightning_button.setMaximumWidth(25 + 6 * char_width_in_lineedit())
|
||||||
self.lightning_button.setText(progress_str)
|
self.lightning_button.setText(progress_str)
|
||||||
self.lightning_button.setToolTip(_("The Lightning Network graph is syncing...\n"
|
self.lightning_button.setToolTip(_("The Lightning Network graph is syncing...\n"
|
||||||
"Payments are more likely to succeed with a more complete graph."))
|
"Payments are more likely to succeed with a more complete graph."))
|
||||||
|
|||||||
Reference in New Issue
Block a user