diff options
author | Chen Bin <chenbin@uniontech.com> | 2022-06-21 11:10:00 +0800 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-06-23 06:08:35 +0000 |
commit | 8c155f015ad3b482ca04c12af4922bcbdbecb213 (patch) | |
tree | 7ca81c9a9527f50731e29d4a854e854d30491614 /tests/auto/quick/qquicklistview2/data/buttonDelegate.qml | |
parent | e15871a80c57e9378b6132ec0aa1e9b0b088cb61 (diff) |
Menu: cull non-visible items when `contentItem` inherits Item
For a custom menu control, when the contentItem does not inherit from
ItemView, the text overlaps. A related bug is QTBUG-53262, but this
problem is only fixed for the ItemView control.
Since the contentItem control can accept the Item control, I think the
repair only for ItemView has limitations. Therefore, this submission
cancels the restriction on the type of contentitem.
Fixes: QTBUG-104470
Change-Id: I7e697e3cb993475d157a92f37d9512e4a9872387
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 6173fc0e4be93604286b9a424f1aa3ff5896082a)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'tests/auto/quick/qquicklistview2/data/buttonDelegate.qml')
0 files changed, 0 insertions, 0 deletions