[Interest] QTreeWidget with fixed or min row height

Duane duane.hebert at group-upc.com
Mon Mar 16 17:47:32 CET 2015


I'm trying to set up a tree widget where I can resize the column width 
to content but maintain a fixed row height.

I have a custom delegate which I use to paint cell borders and I've 
added an overload to QSizeHint for this. I've also tried just setting 
the size hint but in either case column height works but the width 
doesn't size properly.

Is there a way to achieve setting the tree's resize mode to resize to 
contents but also setting the height?




More information about the Interest mailing list