electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 9f0698a8a3bcce296d195ab237ef7da6127da031
parent a03bacbeff25c43e4294ab3427148c779020bbfa
Author: thomasv <thomasv@gitorious>
Date:   Wed, 28 Nov 2012 18:08:54 +0100

invoice window: larger text, monospace font

Diffstat:
Mlib/gui_qt.py | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/lib/gui_qt.py b/lib/gui_qt.py @@ -139,7 +139,7 @@ class QRCodeWidget(QWidget): def __init__(self, addr): super(QRCodeWidget, self).__init__() - self.setMinimumSize(250, 250) + self.setMinimumSize(210, 210) self.set_addr(addr) def set_addr(self, addr): @@ -193,6 +193,7 @@ class QR_Window(QWidget): main_box.addStretch(1) self.address_label = QLabel("") + self.address_label.setFont(QFont(MONOSPACE_FONT)) vbox.addWidget(self.address_label) self.label_label = QLabel("") @@ -211,15 +212,15 @@ class QR_Window(QWidget): def set_content(self, addr, label, amount): self.address = addr - address_text = "<span style='font-size: 18pt'>%s</span>" % addr if addr else "" + address_text = "<span style='font-size: 21pt'>%s</span>" % addr if addr else "" self.address_label.setText(address_text) self.amount = amount - amount_text = "<span style='font-size: 18pt'>%s</span> <span style='font-size: 10pt'>BTC</span> " % format_satoshis(amount) if amount else "" + amount_text = "<span style='font-size: 21pt'>%s</span> <span style='font-size: 16pt'>BTC</span> " % format_satoshis(amount) if amount else "" self.amount_label.setText(amount_text) self.label = label - label_text = "<span style='font-size: 18pt'>%s</span>" % label if label else "" + label_text = "<span style='font-size: 21pt'>%s</span>" % label if label else "" self.label_label.setText(label_text) self.update()