I have an application, written in PyQt. I use QTableWidget-based class for grids.
All is Ok, except that in some cases (long text data in cells) item size is determined wrong and some clipping occures.
Quick'n'dirty hack is to override delegate's sizeHint()
function, but there are thousands of items in the table, and I think, that calling python (!) function for every and each cell of the huge table is bad. Moreover, let's say, 5px borders for all (not only those, badly rendered) items isn't pretty.
Can someone provide more abequate way to fix it?