You are not logged in.

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, May 3rd 2012, 8:10pm

QTreeWidgetItem QWidget size policy when they are not topLevelItem

Hi,

I use setItemWidget() on a QtreeWidget. My Item are resized correctly when they are top level items, but have a weird size when they are children of a parent QTreeWidgetItem. How can I force them to be use the right size (AKA, qtreewidget width+margin). I have only 1 column.

thanks