commit 8263af33390299fcf3d6714087188b4d8e289fc9
parent 1b42fe2ea28e0125dbfa4f0307294c215d2d9881
Author: ThomasV <thomasv@gitorious>
Date: Mon, 16 Jun 2014 13:30:33 +0200
adjust receive_list column width
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py
@@ -695,6 +695,11 @@ class ElectrumWindow(QMainWindow):
self.receive_list = MyTreeWidget(self)
self.receive_list.customContextMenuRequested.connect(self.receive_list_menu)
self.receive_list.setHeaderLabels( [_('Address'), _('Message'), _('Amount'), _('Status')] )
+ self.receive_list.setColumnWidth(0, 320)
+ h = self.receive_list.header()
+ h.setStretchLastSection(False)
+ h.setResizeMode(1, QHeaderView.Stretch)
+
grid.addWidget(self.receive_requests_label, 5, 0)
grid.addWidget(self.receive_list, 6, 0, 1, 6)