Details
-
Suggestion
-
Resolution: Duplicate
-
Not Evaluated
-
5.11.1
-
None
-
-
25231c40489e54d57998fa44385ad832cc32b30d
Description
I am using a QTableView with word wrapping enabled and rows configured to resize to content automatically.
The view does NOT update the row height when columns are manually resized in a way that a cell changes from single-line text to double-line text (or vice versa).
The following line works around the problem:
CHECK_TRUE(connect(ui->tableView->horizontalHeader(), SIGNAL(sectionResized(int, int,
int)), ui->tableView, SLOT(resizeRowsToContents())));
However it seems strange that the above does not work out of the box. Is that behavior a bug?
Attachments
Issue Links
- duplicates
-
QTBUG-72226 [REG 5.11 -> 5.12] QToolButton with icon and text prematurely elides text
- Closed