forked from qt-creator/qt-creator
QmlDesigner: fix preferredWith is unknown warning
Change-Id: If660ac05e8c88d2fdde834689a2213c495a22eec Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user