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

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