Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.5
-
None
-
Windows 10
Description
It seems like text elide doesn't work properly in QTableWidget cells. The following code
QTableWidget *tableWidget;
tableWidget = new QTableWidget(Dialog);
tableWidget->setGeometry(QRect(40, 20, 256, 192));
tableWidget->setRowCount(4);
tableWidget->setColumnCount(1);
tableWidget->setItem(0, 0, new QTableWidgetItem("0.234823489789234"));
Results in the attached screenshot.
A solution of the problem is at https://stackoverflow.com/questions/64198197/how-to-prevent-too-aggressive-text-elide-in-qtableview/ but this problem shouldn't need an external plaster.