forked from qt-creator/qt-creator
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:
@@ -218,6 +218,9 @@ SecondColumnLayout {
|
|||||||
property Loader loader: Loader {
|
property Loader loader: Loader {
|
||||||
parent: colorEditor
|
parent: colorEditor
|
||||||
active: colorEditor.supportGradient
|
active: colorEditor.supportGradient
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.leftMargin: 0
|
||||||
|
|
||||||
sourceComponent: ColorEditorPopup {
|
sourceComponent: ColorEditorPopup {
|
||||||
id: cePopup
|
id: cePopup
|
||||||
x: cePopup.__defaultX
|
x: cePopup.__defaultX
|
||||||
|
Reference in New Issue
Block a user