[PyQt] QTreeView Windows cell resizing issue

Peter Georges peterg at al.com.au
Thu May 28 06:12:56 BST 2009


I have a QTreeView with custom widgets in it and I use the 
'resizeColumnsToContents' and 'resizeRowsToContents' functions to 
correctly size all the cells. This works correctly on Linux but not on 
Windows.. I am using v4.5-snapshot-20090409 which is a bit old now but I 
cannot see anything in the change logs related to this anyway.

Also, is there anyway to disable user-resizing of the columns and rows?

Cheers


More information about the PyQt mailing list