OSDN Git Service

QmlDesigner.property: do not allow to enter ',' for margins.
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Wed, 25 May 2011 09:19:59 +0000 (11:19 +0200)
committerThomas Hartmann <Thomas.Hartmann@nokia.com>
Wed, 25 May 2011 09:28:48 +0000 (11:28 +0200)
commit2aefea55577f20b31f4753cab54b6dab0785d38c
treeb3125e52a184ad98141c9677fd233e84ac71cb5c
parent1c401481f288d593947159560e462690b57da4f0
QmlDesigner.property: do not allow to enter ',' for margins.

If minimum/maximum < 1000 the validator does not allow ','.
Allowing ',' confuses users.

Change-Id: I5ce3b809ea03552e03f11461d677d6212edb3aa4
Reviewed-on: http://codereview.qt.nokia.com/105
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
share/qtcreator/qmldesigner/propertyeditor/Qt/IntEditor.qml
share/qtcreator/qmldesigner/propertyeditor/Qt/Layout.qml