From 8cb567874887f5148601b9afc0292bef3c4270f7 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Thu, 5 Sep 2024 12:33:15 +0800 Subject: [PATCH] fix: Combobox shadow is cliped remove clip property Log: --- qt6/src/qml/ComboBox.qml | 2 +- src/qml/ComboBox.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qt6/src/qml/ComboBox.qml b/qt6/src/qml/ComboBox.qml index 680951ac..a33981be 100644 --- a/qt6/src/qml/ComboBox.qml +++ b/qt6/src/qml/ComboBox.qml @@ -147,9 +147,9 @@ T.ComboBox { } popup: Popup { - clip: true implicitWidth: control.width contentItem: ArrowListView { + clip: true maxVisibleItems: control.maxVisibleItems view.model: control.delegateModel view.currentIndex: control.highlightedIndex diff --git a/src/qml/ComboBox.qml b/src/qml/ComboBox.qml index 9c645e05..8c294ad1 100644 --- a/src/qml/ComboBox.qml +++ b/src/qml/ComboBox.qml @@ -146,9 +146,9 @@ T.ComboBox { } popup: Popup { - clip: true implicitWidth: control.width contentItem: ArrowListView { + clip: true maxVisibleItems: control.maxVisibleItems view.model: control.delegateModel view.currentIndex: control.highlightedIndex