summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/elide2.qml
blob: edf0cb53190435f28cf831402c09b554be341726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import QtQuick 1.0

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'
    }
}