I did have uniformRowHeights(true) on the view, but it make any difference after removing. My model didn't return SizeHintRole so that wasn't the problem either. But after adding the SizeHintRole in the model it worked.
This is what I have now, and it works perfect
Qt Code:
... else if(role == Qt::SizeHintRole) { } ...To copy to clipboard, switch view to plain text mode
Thanks!
Bookmarks