I am working on an application with Qt/c++ that includes a QTreeWidget that has 2 columns. The column headers are "Name:" and "Value:".
I am logging more and more information to the QTreeWidget but when I run the application it opens smaller than the length of many items (Words), inside.
I want to dynamicially expand the column header's width according to the items inside the columns.
I would be really glad if someone could help me.