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 }