Hello all,

How to resize the vertical header of a QTableView to make it wide enough so it does not clip the text?

I guess it must go via QHeaderView gained using the verticalHeader() method of QTableView. However what ever I try it does not have any effect.

If the vertical header could resize itself to fit the contents as the columns do that would be just perfect.

I see a lot about this issue on google around the time Qt4 came out, however I could not find a solution.

Please help.