Qt World Summit: Register Today!

How to keep border around QTabWidget with tabBarAutoHide enabled

  • Does anyone know how to keep the border around QTabidget when the tab bar is hidden? The QTabWidget is the central widget in a QMainWindow and without the border it looks like the rects are not aligned:

    With tabBar visible:

    With tabBar hidden: