QTableViews have much thicker rows/cells than Qt3 QTables did. They appear to have about a 6 pixel padding. This is wasting too much screen real estate, and in my opinion looks unprofessional.

What is the best way to resize the rows? I was using resizeRowsToContents(), but it's not quite right. What I want is something on the order of the row heights in Designer's property editor. I'm not understanding the Designer code and so I can't find how they do it. The default height (with my font) is 30 pixels. Using resizeRowsToContents I get 27 pixels. Designer has 21 pixels. See the difference?

Any hints?