I have MainWindow with QToolbar, QWidget and QTabWidget. Layout - "Grid". However, my window is mutable, and since I have a layout, it works well. But there is one problem, in my QTabWidget I have a QTableWidget with two columns (the layout is also a "grid"). If I resize the whole window, QTableWidget resizes, but not the columns.
For example, whenever I resize my window, my QTabWidget changes and the QTableWidget in it too. Only columns in my QTableWidget will not.
So ... how to resize them if resizing a QTableWidget?
source share