From f95f685d01670f7a2f65008ebe9dce13b681c997 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 29 Jun 2016 18:26:32 +0200 Subject: [PATCH] QmlDesigner: fix preferredWith is unknown warning Change-Id: If660ac05e8c88d2fdde834689a2213c495a22eec Reviewed-by: Thomas Hartmann --- .../propertyEditorQmlSources/QtQuick/AnchorRow.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {