summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/visual/qmlgraphicstext/elide/elide2.qml
blob: c163e051e174d5981903cf8896cd8d03c79eaede (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; repeat: true; duration: 5000 }
        elide: Text.ElideRight
        text: 'Here is some very long text that we should truncate when sizing window'
    }
}