QTableView reduce row height not working
Solved
General and Desktop
-
Hello,
I've a QTableView and I have set the Fontsize for the items to be really small, eg 5pt.
Now I also want to shrink the row height, however it is not working.
I can increase it but not decrease. Seems like there is some lower limit somewhere.What I've tried is
-
setRowHeight(); for all rows
-
resizeRowToContents(); for all rows
-
settings vertical header spacing
verticalHeader()->setDefaultSectionSize(5);
verticalHeader()->sectionResizeMode(QHeaderView::Fixed); -
setting sizeHint for the items.
None of those methods is working. What am I missing?
-