PDA

View Full Version : vertical header of QTableWidget is merged into first column after upgrading to QT5.11



carlcarl
6th March 2019, 22:27
Recently I have upgraded to QT5.11 from QT4.8. There is one issue about QTableWidget. The following is the code used to create one table. The vertical header is always merged into first column. It's really annoying because one can not resize the width of the vertical header. Does anyone get the same issue? Thanks a lot.

QTableWidget* table = new QTableWidget(3, 3, this); grid->addWidget(table);

anda_skoa
9th March 2019, 10:32
Have you tried a different widget style?

Maybe that's how the currently used style draws the vertical header

Cheers,
_

carlcarl
9th March 2019, 13:42
Thanks a lot. Will try it.