Changing the size of tabs in a QTabBar via QStyle
-
I'm trying to style QTabBar, drawing extra stuff in the space for the tab label.
That isn't too hard in QStyle::drawControl but it uses up some space needed by the text of the label.
I'd like to know if there's something that a style can do to increase the size of the whole tab.
I tried overriding sizeFromContents for CT_TabBarTab and subElementRect for SE_TabBarTabText but neither does the trick.