I have some rows and 3 columns.
Some rows have a picture in the first columns, and some doesn't have one.
I'm trying to make the header resize itself to fit the content of the row, so, reading the docs, the most logical option is
But this way the items that have a picture in the first column are somehow resized so the picture isn't visible.
How can I fix that?
btw, I'm adding the pictures with DecorativeRole. And every column in each row is a QStandardItem.
Thanks
Bookmarks