updated column width

This commit is contained in:
Tristan Smith 2024-06-06 00:15:54 -04:00
parent 7da0aa7c88
commit fc3f4b8615

1
qt.py
View file

@ -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)