diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml index 6602bf5ab08..d4f45ee3e94 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/AnchorRow.qml @@ -71,7 +71,7 @@ RowLayout { text: qsTr("Target") color: "#eee" elide: Text.ElideRight - Layout.minimumWidth: Math.min(60, preferredWidth + 10) + Layout.minimumWidth: Math.min(60, Layout.preferredWidth + 10) } TargetComboBox { @@ -85,7 +85,7 @@ RowLayout { text: "Margin" color: "#eee" elide: Text.ElideRight - Layout.minimumWidth: Math.min(60, preferredWidth + 10) + Layout.minimumWidth: Math.min(60, Layout.preferredWidth + 10) } RowLayout {