diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml | 12 |
1 files changed, 12 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 0000000..ecd9470 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml @@ -0,0 +1,12 @@ +import Qt 4.6 + +Rectangle { + width: 500 + height: 100 + + Text { + width: NumberAnimation { 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' + } +} |