From b73b94d27a369626023dfccf2d2ac3ea4e6e3972 Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Fri, 15 Sep 2023 14:37:02 +0200 Subject: [PATCH] QmlDesigner: Remove anchors from positioner child Change-Id: Ibff848d5f80ac74491ab77e88baffb4d0e1454bf Reviewed-by: Thomas Hartmann --- .../qmldesigner/connectionseditor/StatementEditor.qml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml b/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml index 3e7e552a28f..fc266fb4e9d 100644 --- a/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml +++ b/share/qtcreator/qmldesigner/connectionseditor/StatementEditor.qml @@ -243,9 +243,7 @@ Column { PopupLabel { visible: root.actionType === ConnectionModelStatementDelegate.Custom text: qsTr("Custom Connections can only be edited with the binding editor") - anchors.left: parent.left - anchors.right: parent.right - anchors.margins: 30 + width: root.width horizontalAlignment: Text.AlignHCenter wrapMode: Text.WordWrap }