Quote Originally Posted by skuda View Post
QTableView uses internally setViewPortMargins but it maintains the values passed in the private class and i can't find a method to get them for use in my resizeEvent so without take care of this values i end with a broken table.
Calculate it yourself and store it using your own variables.

Could you please show or point me an example on how i should do it?
There should be such an example of mine somewhere on this forum.