I'm trying to create a QTabWidget contained within a QDockWidget with no padding so the tab widget reaches the edges of the QDockWidget.
You can see in the image below the problem. The QTabWidget on the right inside the layout clearly has no padding but the QTabWidget on the left inside the QDockWidget does.

This padding is there using all the default styles, cleanlooks, plastique and the OSX style.
I have tried adding the following qss to the QTabWidget, QDockWidget, QWidget, QMainWindow but the padding between the dock widget and the tab widget always remains!
padding: 0;
margin: 0;
Does anybody know what I need to do to remove this space.
