forked from qt-creator/qt-creator
QmlDesigner: fix binding loops while resizing
Change-Id: I897f7767f5539b4297cf9a0bbaf290adf82cb88b Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user