How to resize QTableWidget width to fit the total column size?
Solved
General and Desktop
-
Hi,
I am trying to get the layout of my app setup and so I added 2 QTableWidgets side by size but as you can see, there is a gap here in each QTableView after the last column. Is there a way to resize the widget to full encapculate the columns without this empty space?
I tried this but it didn't change anything:
tablewidget.setSizeAdjustPolicy(QtWidgets.QAbstractScrollArea.AdjustToContents)
https://i.imgur.com/qeGHlxO.png
Thanks in advance.