From 8bcce4b6dc1de1c92ee09178a86e630bb6ac0cbf Mon Sep 17 00:00:00 2001 From: kleuter Date: Sat, 5 Jan 2019 15:58:23 +0100 Subject: [PATCH] fix for https://bugreports.qt.io/browse/QTBUG-71958 --- 5.12.0/qtbase/src/plugins/styles/mac/qmacstyle_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/5.12.0/qtbase/src/plugins/styles/mac/qmacstyle_mac.mm b/5.12.0/qtbase/src/plugins/styles/mac/qmacstyle_mac.mm index 94d048c..ebffbd2 100644 --- a/5.12.0/qtbase/src/plugins/styles/mac/qmacstyle_mac.mm +++ b/5.12.0/qtbase/src/plugins/styles/mac/qmacstyle_mac.mm @@ -1512,7 +1512,7 @@ QRectF QMacStylePrivate::CocoaControl::adjustedControlFrame(const QRectF &rect) frameRect = frameRect.translated(rect.topLeft()); if (type == QMacStylePrivate::Button_PullDown || type == QMacStylePrivate::Button_PopupButton) { if (size == QStyleHelper::SizeLarge) - frameRect = frameRect.adjusted(0, 0, -6, 0).translated(3, -1); + frameRect = frameRect.adjusted(0, 0, -6, 0).translated(3, 0); else if (size == QStyleHelper::SizeSmall) frameRect = frameRect.adjusted(0, 0, -4, 0).translated(2, 1); else if (size == QStyleHelper::SizeMini)