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

Rectangle {
    width: 500
    height: 100

    Text {
        NumberAnimation on width { 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'
    }
}