QmlDesigner: fix preferredWith is unknown warning

Change-Id: If660ac05e8c88d2fdde834689a2213c495a22eec
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
Tim Jenssen
2016-06-29 18:26:32 +02:00
parent ac5d84372a
commit f95f685d01

View File

@@ -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 {