Vista Style: Fix menu item checkmark offset for QQuick Controls
Change-Id: I8d4a8f0d3a079a5569f9442f8d6d523f05daca60 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
parent
903953d69e
commit
14aae25d03
@ -1283,7 +1283,7 @@ void QWindowsVistaStyle::drawControl(ControlElement element, const QStyleOption
|
||||
}
|
||||
|
||||
QRect vCheckRect = visualRect(option->direction, menuitem->rect, QRect(menuitem->rect.x(),
|
||||
menuitem->rect.y(), checkcol - 6, menuitem->rect.height()));
|
||||
menuitem->rect.y(), checkcol - (3 + menuitem->rect.x()), menuitem->rect.height()));
|
||||
|
||||
if (act) {
|
||||
stateId = dis ? MBI_DISABLED : MBI_HOT;
|
||||
|
Loading…
Reference in New Issue
Block a user