chore: Adjust width of Actions column in URLManager
This commit is contained in:
2
app.py
2
app.py
@ -82,7 +82,7 @@ class URLManager(QWidget):
|
|||||||
self.url_list.setHorizontalHeaderLabels(['URL', 'Date', 'Actions'])
|
self.url_list.setHorizontalHeaderLabels(['URL', 'Date', 'Actions'])
|
||||||
self.url_list.horizontalHeader().setSectionResizeMode(0, QHeaderView.Stretch) # Stretch first column
|
self.url_list.horizontalHeader().setSectionResizeMode(0, QHeaderView.Stretch) # Stretch first column
|
||||||
self.url_list.setColumnWidth(1, 150) # Set fixed width for Date column
|
self.url_list.setColumnWidth(1, 150) # Set fixed width for Date column
|
||||||
self.url_list.setColumnWidth(2, 150) # Set fixed width for Actions column
|
self.url_list.setColumnWidth(2, 100) # Set fixed width for Actions column
|
||||||
self.layout.addWidget(self.url_list)
|
self.layout.addWidget(self.url_list)
|
||||||
|
|
||||||
self.setLayout(self.layout)
|
self.setLayout(self.layout)
|
||||||
|
|||||||
Reference in New Issue
Block a user