Change the size of table widget header labels in qt
General and Desktop
3
Posts
2
Posters
1.9k
Views
1
Watching
-
wrote on 19 Apr 2013, 10:41 last edited by
Hello
Is it possible to change the size of the HorizontalHeaderLabels in Qt ? -
wrote on 19 Apr 2013, 11:09 last edited by
resizeColumnsToContents();
-
wrote on 19 Apr 2013, 11:15 last edited by
"QHeaderView":http://qt-project.org/doc/qt-4.8/qheaderview.html#minimumSectionSize-prop has a method (setMinimumSectionSize(int)) which allows you to set a minimum size for all your sections. Along with setResizeMode this should be enough.
2/3