electrum

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

commit 4c869ff213d26fe69ad4aa17d787a37b82c8b719
parent c8a8cb73b3d0817e1b885166ef0ee04574774497
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 12 Feb 2012 11:47:35 +0100

font

Diffstat:
Mclient/gui_qt.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/client/gui_qt.py b/client/gui_qt.py @@ -97,6 +97,7 @@ class ElectrumWindow(QMainWindow): is_default_label = (label == '') or (label is None) if is_default_label: label = tx['default_label'] item = QTreeWidgetItem( [ '', time_str, label, format_satoshis(v,True), format_satoshis(balance)] ) + item.setFont(2, QFont('monospace')) item.setIcon(0, icon) self.history_list.insertTopLevelItem(0,item) @@ -146,7 +147,6 @@ class ElectrumWindow(QMainWindow): l.setHeaderLabels( ['Address', 'Label','Tx']) vbox = QtGui.QVBoxLayout() - #vbox.addStretch(1) vbox.addWidget(l) hbox = QtGui.QHBoxLayout() @@ -183,6 +183,7 @@ class ElectrumWindow(QMainWindow): if not item['is_in'] : n=n+1 tx = "None" if n==0 else "%d"%n item = QTreeWidgetItem( [ address, label, tx] ) + item.setFont(0, QFont('monospace')) self.receive_list.addTopLevelItem(item) def create_contacts_tab(self): @@ -204,6 +205,7 @@ class ElectrumWindow(QMainWindow): if address in item['outputs'] : n=n+1 tx = "None" if n==0 else "%d"%n item = QTreeWidgetItem( [ address, label, tx] ) + item.setFont(0, QFont('monospace')) self.contacts_list.addTopLevelItem(item)