Stretch middle table's section
-
Hi. We have such a nice function in QHeaderView as setStretchLastSection. But if we need to stretch a middle column how we can do it (last section musts be pressed at right side)?
Found a solution:
ui->_table->horizontalHeader()->setSectionResizeMode('middleColumn', QHeaderView::Stretch);