From 7092d8da221ba8cfb79eab994194656ec19e369d Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 21 Oct 2022 15:09:37 +0200 Subject: [PATCH] QmlDesigner: Fix ColorEditorPopup on Qt 6.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With Qt 6.4 the position of the loader is not set to 0 by default. Using anchors does fix this. Task-number: QDS-8018 Change-Id: I74623cff1f02968515fe7452cc770534f43c2d77 Reviewed-by: Henning Gründl --- .../imports/HelperWidgets/ColorEditor.qml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml index a8459c29ea1..4d17cafd93d 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/HelperWidgets/ColorEditor.qml @@ -218,6 +218,9 @@ SecondColumnLayout { property Loader loader: Loader { parent: colorEditor active: colorEditor.supportGradient + anchors.left: parent.left + anchors.leftMargin: 0 + sourceComponent: ColorEditorPopup { id: cePopup x: cePopup.__defaultX