QWindows11Style: Draw ItemView text, in case of custom Widget
Fixes: QTBUG-128517 Pick-to: 6.7 Change-Id: Ia48935eb8bc0acd77178a76502a4e84eb9822a76 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io> (cherry picked from commit ceebef9af9f99ad1c497f56d5a4d376ce03006e1) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
4034c896de
commit
63a4def507
@ -1798,6 +1798,9 @@ void QWindows11Style::drawControl(ControlElement element, const QStyleOption *op
|
||||
option->rect.x() + 1,option->rect.y() + option->rect.height() - 2);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
QRect textRect = proxy()->subElementRect(SE_ItemViewItemText, vopt, widget);
|
||||
d->viewItemDrawText(painter, vopt, textRect);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user