Commit b4599aa2 authored by Tim Jenssen's avatar Tim Jenssen

QmlDesigner: fix binding loops while resizing

Change-Id: I897f7767f5539b4297cf9a0bbaf290adf82cb88b
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 673b1c2c
...@@ -75,17 +75,14 @@ Rectangle { ...@@ -75,17 +75,14 @@ Rectangle {
placeholderText: qsTr("id") placeholderText: qsTr("id")
text: backendValues.id.value text: backendValues.id.value
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: 320
showTranslateCheckBox: false showTranslateCheckBox: false
showExtendedFunctionButton: false showExtendedFunctionButton: false
} }
// workaround: without this item the lineedit does not shrink to the
ExpandingSpacer { // right size after resizing to a wider width
}
Item { Item {
width: 16 width: 0
height: 16 height: 1
} }
} }
} }
......
...@@ -75,15 +75,14 @@ Rectangle { ...@@ -75,15 +75,14 @@ Rectangle {
placeholderText: qsTr("id") placeholderText: qsTr("id")
text: backendValues.id.value text: backendValues.id.value
Layout.fillWidth: true Layout.fillWidth: true
Layout.maximumWidth: 320 showTranslateCheckBox: false
showExtendedFunctionButton: false
} }
// workaround: without this item the lineedit does not shrink to the
ExpandingSpacer { // right size after resizing to a wider width
}
Item { Item {
width: 16 width: 0
height: 16 height: 1
} }
} }
} }
......
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