From d2b1b1fd460f44cffe1ebbf4993748d681443c5f Mon Sep 17 00:00:00 2001 From: Miikka Heikkinen Date: Mon, 28 Oct 2024 14:04:58 +0200 Subject: [PATCH] QmlDesigner: Fix combobox popup background size This is a workaround for Window not propagating size changes to anchored children in timely fashion (QTBUG-130354). Fixes: QDS-13905 Change-Id: Ib22f8011e7291471bb803578b5c978a42239fc47 Reviewed-by: Thomas Hartmann --- .../imports/StudioControls/TopLevelComboBox.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/TopLevelComboBox.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/TopLevelComboBox.qml index 3ee49b56ad8..7b03ac97724 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/TopLevelComboBox.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/TopLevelComboBox.qml @@ -122,7 +122,8 @@ T.ComboBox { } Rectangle { - anchors.fill: parent + width: window.width + height: window.height color: control.style.popup.background } }