Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qmlvisual / qdeclarativetext / elide / multilength.qml
1 import QtQuick 1.0
2 import "../../shared" 1.0
3
4 Rectangle {
5     width: 500
6     height: 50
7     color: "lightBlue"
8     Rectangle {
9         width: myText.width
10         height: myText.height
11         color: "white"
12         anchors.centerIn: parent
13         TestText {
14             id: myText
15             NumberAnimation on width { from: 500; to: 0; loops: Animation.Infinite; duration: 5000 }
16             elide: "ElideRight"
17             text: "Brevity is the soul of wit, and tediousness the limbs and outward flourishes.\x9CBrevity is a great charm of eloquence.\x9CBe concise!\x9CSHHHHHHHHHHHHHHHHHHHHHHHHHHHH"
18         }
19     }
20 }