@@ -84,8 +84,8 @@ def __init__(self, window: 'ElectrumWindow'):
8484 + _ ("To set the amount to 'max', use the '!' special character." ) + "\n "
8585 + _ ("Integers weights can also be used in conjunction with '!', "
8686 "e.g. set one amount to '2!' and another to '3!' to split your coins 40-60." ))
87- payto_label = HelpLabel (_ ('Pay to' ), msg )
88- grid .addWidget (payto_label , 0 , 0 )
87+ self . payto_label = HelpLabel (_ ('Pay to' ), msg )
88+ grid .addWidget (self . payto_label , 0 , 0 , Qt . AlignmentFlag . AlignLeft )
8989 grid .addWidget (self .payto_e , 0 , 1 , 1 , 4 )
9090
9191 #completer = QCompleter()
@@ -822,6 +822,11 @@ def toggle_paytomany(self):
822822 _ ('You may load a CSV file using the file icon.' )
823823 ])
824824 self .window .show_tooltip_after_delay (message )
825+ self .payto_label .setAlignment (Qt .AlignmentFlag .AlignTop )
826+ self .payto_label .setText (_ ('Pay to many' ))
827+ else :
828+ self .payto_label .setAlignment (Qt .AlignmentFlag .AlignLeft )
829+ self .payto_label .setText (_ ('Pay to' ))
825830
826831 def payto_contacts (self , labels ):
827832 paytos = [self .window .get_contact_payto (label ) for label in labels ]
0 commit comments