diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-01-27 11:11:36 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-01-27 11:14:24 +0100 |
commit | 92d54d29f6b09faa1817d805f2e3ef2a699d6efe (patch) | |
tree | a83309959925dbbd5cf5346542ee578deef8cc9a | |
parent | 1ac1ad2ecd6e317aed229a86893c9f6ea25bb118 (diff) | |
download | qt-creator-92d54d29f6b09faa1817d805f2e3ef2a699d6efe.tar.gz |
QmlDesigner.PropertyEditor: template LineEdit should fill layout
Change-Id: I6c537b4a2ee7feace7b0bd63430b7fc442cf81b8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2 files changed, 3 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/StringEditorTemplate.template b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/StringEditorTemplate.template index 3619dd5d4e..f770a68636 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/StringEditorTemplate.template +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/StringEditorTemplate.template @@ -4,4 +4,5 @@ Label { } LineEdit { backendValue: backendValues.%2 -}
\ No newline at end of file + Layout.fillWidth: true +} diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml index 7c14041197..a4a404bedf 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/TemplateTypes.qml @@ -1,6 +1,6 @@ AutoTypes { - imports: [ "import HelperWidgets 2.0", "import QtQuick 2.1" ] + imports: [ "import HelperWidgets 2.0", "import QtQuick 2.1", "import QtQuick.Layouts 1.1" ] Type { typeNames: ["int"] |