QTreeView column content size
Unsolved
General and Desktop
-
Hi,
Not a direct answer but why not call resizeColumnToContents(ii) directly ?
-
My TreeView is floating and I want its maximun width to be synchronized with its column content.
But I also want to let the possibility to the user to reduce this size manually.
I'd do something like :
treeView->setMaximumWidth( sum(columnContentWidth));