Do you use bold font for your tab text? I had similar problems log time ago and it was a bug in Qt preventing QTabBar tabs with bold text from correct text-size calculations.