I change columns sizes by this way:
Qt Code:
  1. ui->tableWidget->setColumnWidth(number, width);
To copy to clipboard, switch view to plain text mode 
but how can I set this width in qt designer?
horizontalHeaderDefaultSectionSize doesn't work.