chore: Adjust width of Actions column in URLManager

This commit is contained in:
2024-07-12 20:57:57 +02:00
parent 7d8633198c
commit 8793f1c696

2
app.py
View File

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