QmlDesigner: Fix ColorEditorPopup on Qt 6.4

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 <henning.gruendl@qt.io>
This commit is contained in:
Thomas Hartmann
2022-10-21 15:09:37 +02:00
parent b56de3d8be
commit 7092d8da22

View File

@@ -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