Had also probs with the rowheight when i used QTableView first.
My experience is that it depends on the order how you setup your model & tabel and where you call
Qt Code:
m_tableView->verticalHeader()->setDefaultSectionSize(20);To copy to clipboard, switch view to plain text mode
Try to call setDefaultSectionSize @ a different place.
afaik, it will always work with the order I posted above.
Bookmarks