From b5295ffe4c58e33687e6af1d9f672b8954fa662f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Dezeiraud?= Date: Sat, 16 Nov 2024 19:47:03 +0100 Subject: [PATCH] Fix FluComboBox click issue with AppBar Fixed bug with Popup topMargin because click is consumed by FluAppBar --- src/Qt5/imports/FluentUI/Controls/FluComboBox.qml | 2 +- src/Qt6/imports/FluentUI/Controls/FluComboBox.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml b/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml index 279fb0f3..3000cc7c 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluComboBox.qml @@ -107,7 +107,7 @@ T.ComboBox { y: control.height width: control.width height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) - topMargin: 6 + topMargin: 32 bottomMargin: 6 modal: true contentItem: ListView { diff --git a/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml b/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml index 70e01e81..6dc161b1 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluComboBox.qml @@ -107,7 +107,7 @@ T.ComboBox { y: control.height width: control.width height: Math.min(contentItem.implicitHeight, control.Window.height - topMargin - bottomMargin) - topMargin: 6 + topMargin: 32 bottomMargin: 6 modal: true contentItem: ListView {