Not sure if this is possible from within Qt Designer, but you can do this programmatically via `QTableView.horizontalHeader().setSectionResizeMode(i, QHeaderView.Stretch)`.
– HeikeOct 02 '19 at 11:34
1 Answers1
0
Thanks to @Heike for the answer :
for i in range(self.tableWidget.columnCount()):
self.tableWidget.horizontalHeader().setSectionResizeMode(i, QtWidgets.QHeaderView.Stretch)