Actually the title contains all information needed. Is there an easy function like tableview.resizeColumnsToContents() that allows the maximization of all column widths within the widget size? My columns are narrow so the table looks very compact.
Actually the title contains all information needed. Is there an easy function like tableview.resizeColumnsToContents()
Share
If you want the columns to expand uniformly, you could also set the resize mode
In pyqt5
setResizeModeis no longer available. Instead, usesetSectionResizeModeandQHeaderViewin theQtWidgetsmodule.