summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qdeclarativetext/elide/elide2.qml
blob: ecd94709469fcdb19a947fb78581beacad12b28c (plain)
1
2
3
4
5
6
7
8
9
10
11
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'
    }
}