QmlDesigner: fix binding loops while resizing

Change-Id: I897f7767f5539b4297cf9a0bbaf290adf82cb88b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Tim Jenssen
2014-08-12 13:19:03 +02:00
parent 673b1c2cb4
commit b4599aa250
2 changed files with 10 additions and 14 deletions

View File

@@ -75,17 +75,14 @@ Rectangle {
placeholderText: qsTr("id")
text: backendValues.id.value
Layout.fillWidth: true
Layout.maximumWidth: 320
showTranslateCheckBox: false
showExtendedFunctionButton: false
}
ExpandingSpacer {
}
// workaround: without this item the lineedit does not shrink to the
// right size after resizing to a wider width
Item {
width: 16
height: 16
width: 0
height: 1
}
}
}

View File

@@ -75,15 +75,14 @@ Rectangle {
placeholderText: qsTr("id")
text: backendValues.id.value
Layout.fillWidth: true
Layout.maximumWidth: 320
showTranslateCheckBox: false
showExtendedFunctionButton: false
}
ExpandingSpacer {
}
// workaround: without this item the lineedit does not shrink to the
// right size after resizing to a wider width
Item {
width: 16
height: 16
width: 0
height: 1
}
}
}