Details
-
Bug
-
Resolution: Done
-
P2: Important
-
3.x
-
None
-
6320dbb34a18f4fa822343c6661b9f34ce3fe38f
Description
When styling a QTabWidget's frame the position of the frame relative to the tab bar varies depending on the base style (and usually therefore the platform) - instead of being fixed by the CSS rules which appears to be the intention.
In Qt Designer applying this stylesheet to a tab bar should cause the bottom of the tab bar and the top of the bar bar frame to just touch:
QTabBar::tab
{ border:1px solid blue; padding:5px; }QTabWidget::pane
{ border:1px solid red; }Instead, the bottom of the tab bar descends below the top of the tab frame slightly. The effect is worse on MacOS.