tInput tx index looks better left-aligned after all - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 547886d6f151c0f5175fcb2d1150292e9c7b484b DIR parent 6c25f637b90958f88526d366b44ad0cd740d1060 HTML Author: Neil Booth <kyuupichan@gmail.com> Date: Sat, 27 Jun 2015 11:01:42 +0900 Input tx index looks better left-aligned after all Diffstat: M gui/qt/transaction_dialog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/gui/qt/transaction_dialog.py b/gui/qt/transaction_dialog.py t@@ -251,7 +251,7 @@ class TxDialog(QWidget): prevout_hash = x.get('prevout_hash') prevout_n = x.get('prevout_n') cursor.insertText(prevout_hash[0:8] + '...', ext) - cursor.insertText(prevout_hash[-8:] + ":%3d " % prevout_n, ext) + cursor.insertText(prevout_hash[-8:] + ":%-4d " % prevout_n, ext) addr = x.get('address') if addr == "(pubkey)": _addr = self.wallet.find_pay_to_pubkey_address(prevout_hash, prevout_n)