Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is there a way to set row height for every row in a QTableView?
kitfox last edited by
QTableView has a method for setting the height of individual rows, but is there a way to set the row height for the entire table?
I think you can use QHeaderView::setDefaultSectionSize.
Take note of the warning in the documentation.
VRonin last edited by
QHeaderView::ResizeToContentsyou can subclass
sizeHintand return the hight you want.