diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml new file mode 100644 index 00000000..0370a73b --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml @@ -0,0 +1,13 @@ +import QtQuick 1.0 +import "../../shared" 1.0 + +Rectangle { + width: 500 + height: 100 + + TestText { + NumberAnimation on width { from: 500; to: 0; loops: Animation.Infinite; duration: 5000 } + elide: Text.ElideRight + text: 'Here is some very long text that we should truncate when sizing window' + } +} |