Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to adjust a treewidget's columns' width?
HYSuperman last edited by
I'm using Qt designer to design an interface.
I created a treewidget and added three column to it. The problem is I want to change the column width of these three columns. As I can't drag it in Qt designer, I tried to find a relative function, but until now I cannot find one.
Is there anybody know how to do and help me with this?
did you get a chance to look at QTreeWidget->headerItem()->setSizeHint(....) ?