QMacStyle: Fix QComboBox left contents margin

Change-Id: I89a5e0c271bdaced8440e123c63c5435fa725856
Task-number: QTBUG-68518
Reviewed-by: Andy Shaw <andy.shaw@qt.io>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
Gabriel de Dietrich 2018-05-29 15:32:34 -07:00
parent 092630cbf9
commit 0866fe2079

View File

@ -1675,13 +1675,13 @@ QRectF QMacStylePrivate::comboboxEditBounds(const QRectF &outerBounds, const Coc
} else if (cw.type == Button_PopupButton) {
switch (cw.size) {
case QStyleHelper::SizeLarge:
ret.adjust(14, 1, -23, -4);
ret.adjust(10, 1, -23, -4);
break;
case QStyleHelper::SizeSmall:
ret.adjust(13, 4, -20, -3);
ret.adjust(10, 4, -20, -3);
break;
case QStyleHelper::SizeMini:
ret.adjust(12, 0, -19, 0);
ret.adjust(9, 0, -19, 0);
ret.setHeight(13);
break;
default: