QmlDesigner: Work around layout issue

Layout.fillWidth: true does not work without an explicit size.

Change-Id: I4308016febddef1735d6e5261ac5bc989496bac9
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2019-06-05 18:03:15 +02:00
parent 21663b543a
commit e5dde74b9f

View File

@@ -117,6 +117,7 @@ Rectangle {
placeholderText: qsTr("id") placeholderText: qsTr("id")
text: backendValues.id.value text: backendValues.id.value
Layout.fillWidth: true Layout.fillWidth: true
width: 240
showTranslateCheckBox: false showTranslateCheckBox: false
showExtendedFunctionButton: false showExtendedFunctionButton: false
enabled: !modelNodeBackend.multiSelection enabled: !modelNodeBackend.multiSelection