How to set rows of QtableWidget to the same height?
Printable View
How to set rows of QtableWidget to the same height?
you can use method QHeaderView::resizeSections.
I need to set height of all rows to be 5.
How it can be done with QHeaderView::resizeSections.
look at this method QHeaderVew::setDefaultSectionSize, e.g.
Code:
... tableWidget->verticalHeader()->setDefaultSectionSize(50); ...