Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QTableWidget: Prevent users from changing the row height
I want to stop the users from being able to change height of rows in qtablewidget.
I thought this was a trivial task(a function call away) but I can't seem to find a way to do that.
In the pic above you can see that user increased the height of the row 2. How can I stop that from happening?
Thanks in advance.
You're looking for QHeaderView::setSectionResizeMode()
JonB last edited by
@JonB oh ok, now I got it. It works, thank you guys.