Commit f95f685d authored by Tim Jenssen's avatar Tim Jenssen

QmlDesigner: fix preferredWith is unknown warning

Change-Id: If660ac05e8c88d2fdde834689a2213c495a22eec
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
parent ac5d8437
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment