diff options
Diffstat (limited to 'tests/auto/qtquick2/qquicktextinput/data/qtbug-19956double.qml')
-rw-r--r-- | tests/auto/qtquick2/qquicktextinput/data/qtbug-19956double.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qtquick2/qquicktextinput/data/qtbug-19956double.qml b/tests/auto/qtquick2/qquicktextinput/data/qtbug-19956double.qml new file mode 100644 index 0000000000..e9b80fceb2 --- /dev/null +++ b/tests/auto/qtquick2/qquicktextinput/data/qtbug-19956double.qml @@ -0,0 +1,15 @@ +import QtQuick 2.0 + +TextInput { + id: textinput + property real topvalue: 30 + property real bottomvalue: 10 + height: 50 + width: 200 + text: "20" + validator: DoubleValidator { + id: doublevalidator + bottom: bottomvalue + top: topvalue + } +} |