Resize main window
I have a central widget that contains a table view. How can I resize the centralwidget to fit the number of columns in the table? I have the columns of the tableview resizing to their contents.
I currently have the mainwindow as a fixed size, do I need to undo that before I try any resizing?