Hi, I use QTableWidget to display certain data. The definition is
  • The 1st row contains set of numbers separated by new lines
  • All the columns must have a fixed width

Now to the core: I set the columnWidth by the setColumnWidth function.
I have the textElide set to ElideNone
The alignment is set to Bottom | Center
I need the QTableWidgetItem to display the data (eventhough the lines get clipped a bit).

The problem is that when there is a line in the text that exceeds the columnWidth, other lines get omitted and just disappear, allthough the cellItem is high enough to contain them. See the example, the only change made is setting a bigger fontSize, the text in the cells wasnt changed



I have no idea why this happens and would appreciate any suggestion given.