Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.3.1
-
None
Description
There is an inconsistency in the behavior of QTableView::resizeColumnsToContents().
Consider the following cases where the different results are displayed:
First case, doesn't resize the columns properly:
tableView->setModel(model);
tableView->resizeRowsToContents();
tableView->resizeColumnsToContents();
...
Second case, but this one does work well:
...
tableView->setModel(model);
tableView->resizeColumnsToContents();
tableView->resizeRowsToContents();