From abee4cdd5925a8513f51784754fca8fa35031732 Mon Sep 17 00:00:00 2001 From: Timur Pocheptsov Date: Wed, 18 Nov 2020 18:34:37 +0100 Subject: QMacStyle - remove vertical adjustment for inactive tab MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While it worked as expected with beta, with final release this thing looks wrong again, especially in the dark mode. Pick-to: 5.15 Pick-to: 5.12 Change-Id: I6857344de897e0f39d9d8e66431635dbe2f4d077 Reviewed-by: Tor Arne Vestbø --- src/plugins/styles/mac/qmacstyle_mac.mm | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/styles/mac/qmacstyle_mac.mm b/src/plugins/styles/mac/qmacstyle_mac.mm index cc8ecef1fa..152d51da1a 100644 --- a/src/plugins/styles/mac/qmacstyle_mac.mm +++ b/src/plugins/styles/mac/qmacstyle_mac.mm @@ -3962,8 +3962,6 @@ void QMacStyle::drawControl(ControlElement ce, const QStyleOption *opt, QPainter rAdjusted.origin.x -= 3; rAdjusted.size.width += 6; if (isBigSurOrAbove) { - rAdjusted.origin.y -= 1; - rAdjusted.size.height += 1; if (tp == QStyleOptionTab::End) rAdjusted.origin.x -= 2; } -- cgit v1.2.3