Better default column sizes in "JM Wallet" tab

This commit is contained in:
Kristaps Kaupe 2019-04-21 12:11:38 +03:00
parent 31bb22e3dd
commit 5ffa95088c

View file

@ -1115,6 +1115,8 @@ class JMWalletTab(QWidget):
self)
self.label1.setAlignment(QtCore.Qt.AlignTop | QtCore.Qt.AlignLeft)
v = MyTreeWidget(self, self.create_menu, self.getHeaders())
v.header().resizeSection(0, 400) # size of "Address" column
v.header().resizeSection(1, 130) # size of "Index" column
v.setSelectionMode(QAbstractItemView.ExtendedSelection)
v.on_update = self.updateWalletInfo
v.hide()