Setting column width for QTreeWidget
1 answer
QHeaderView :: resizeSection () should do the trick, in C ++ it would look like this:
myTreeWidget->headerView()->resizeSection(0 /*column index*/, 100 /*width*/);
+4
source to share