diff options
author | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-04-14 13:49:25 +0200 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2014-04-14 13:51:09 +0200 |
commit | 6a966586272acd68f2112e27821356d39f52046b (patch) | |
tree | 672089d1a4bae4af793e67c211cf54cd1d8a04f7 /share | |
parent | 52592aa8794483cf0ce45957c4498c2e9d4df27f (diff) |
QmlDesigner.PropertyEditor: Fixing layout
Template based SpinBoxes were to small in some cases.
Change-Id: I8bb3ca98cfe53172fc25171c81b3178657737d65
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Diffstat (limited to 'share')
2 files changed, 4 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/IntEditorTemplate.template b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/IntEditorTemplate.template index 7b30d55e4c..dff21cc1e6 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/IntEditorTemplate.template +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/IntEditorTemplate.template @@ -6,4 +6,6 @@ SpinBox { maximumValue: 9999999 minimumValue: -9999999 backendValue: backendValues.%2 + Layout.fillWidth: true + Layout.maximumWidth: 100 } diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template index 6020678c74..5975c382bc 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/PropertyTemplates/RealEditorTemplate.template @@ -7,4 +7,6 @@ SpinBox { minimumValue: -9999999 decimals: 2 backendValue: backendValues.%2 + Layout.fillWidth: true + Layout.maximumWidth: 100 } |