Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
4.8.1
-
None
-
MacOS X
Description
Add widgets via setCellWidget to the table in some of columns. In other columns just text added.
Then when you scroll columns with text scrolled properly, but widgets stays on their old places.
But when you resize window, then table redraw itself properly.
Adding is like this:
QLabel *label = new QLabel(name); //rich text widget.tableWidget->setCellWidget(currentRow, 0, label); //..... item = new QTableWidgetItem("some text"); widget.tableWidget->setItem(currentRow, 2, item);