[PyQt] QTreeView Windows cell resizing issue

Peter Georges peterg at al.com.au
Sat May 30 06:56:25 BST 2009


No one has any ideas on this? Basically on Windows it does not pick up 
the size of a cell when using QTableView.setIndexWidget whereas it works 
on linux...

Cheers

On 28/05/09 15:12, Peter Georges wrote:
> 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
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>    



More information about the PyQt mailing list