I'm using a QTabBar widget. When the QTabBar has no more tabs in it, it collapses its height down to nothing until a new tab is added. How can I disable that?
I want it to stay at a uniform height regardless of whether there are no tabs in it, or multiple tabs.

I searched the documentation but can't find any info on it. I also tried to work around it by placing the QTabBar within a QWidget, and programmaticly assigning the QWidget's minimum and maximum heights to the QTabBar's height after it contains a tab and is shown, but it re-sized it too large.

Any suggestions?