updated column width
This commit is contained in:
parent
7da0aa7c88
commit
fc3f4b8615
1 changed files with 1 additions and 0 deletions
1
qt.py
1
qt.py
|
@ -28,6 +28,7 @@ class IPReporter(QMainWindow):
|
||||||
|
|
||||||
self.tree = QTreeWidget()
|
self.tree = QTreeWidget()
|
||||||
self.tree.setHeaderLabels(["IP Address", "MAC Address"])
|
self.tree.setHeaderLabels(["IP Address", "MAC Address"])
|
||||||
|
self.tree.setColumnWidth(1, 400)
|
||||||
self.layout.addWidget(self.tree)
|
self.layout.addWidget(self.tree)
|
||||||
|
|
||||||
self.tree.itemDoubleClicked.connect(self.open_in_browser)
|
self.tree.itemDoubleClicked.connect(self.open_in_browser)
|
||||||
|
|
Loading…
Reference in a new issue