C++ (Qt) tableWidget->verticalHeader()->setMinimumWidth(100); tableWidget->verticalHeader()->setMaximumWidth(100);