QTableWidget行高列寬自適應

晚餐吃什麼發表於2018-11-02
    ui->tableWidget->horizontalHeader()->setSectionResizeMode(QHeaderView::Stretch);
    ui->tableWidget->verticalHeader()->setSectionResizeMode(QHeaderView::Stretch);

 

相關文章