QTableWidget: Prevent users from changing the row height
Solved
General and Desktop
-
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()
-