It should be achievable if you resize the column. Either by calling resizeColumnToContents (or something like that) or QHeaderView::resizeSection(). One of them will probably fix the issue. Qt behaviour is fine -- it is not the view contents which doesn't fit on the viewport (which would mean a scrollbar has to be added), it is the column which is too narrow to fit contents.





Reply With Quote
Bookmarks