macOS: Fix return value of PM_TabBarBaseHeight to original value

When the tabbar styling was improved in change
175f33ed85 it changed
PM_TabBarBaseHeight to 21 which is incorrect as this value represents
the spacing between the tab pages and the tabbar. In macOS style
there is no space so this should be set to 0.

Task-number: QTBUG-60307
Change-Id: I2ce39ff2fc924d2d83843fab78b311153b4ee08f
Reviewed-by: Oleg Yadrov <oleg.yadrov@qt.io>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
bb10
Andy Shaw 2017-04-28 22:19:15 +02:00
parent 91c1b5490e
commit 7eae7e8103
1 changed files with 1 additions and 1 deletions

View File

@ -2505,7 +2505,7 @@ int QMacStyle::pixelMetric(PixelMetric metric, const QStyleOption *opt, const QW
ret = 0;
break;
case PM_TabBarBaseHeight:
ret = 21;
ret = 0;
break;
case PM_TabBarTabOverlap:
ret = 1;