diff -r b72c6db6890b -r 5dc02b23752f tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/elide/multilength.qml Tue Jul 06 15:10:48 2010 +0300 @@ -0,0 +1,19 @@ +import Qt 4.7 + +Rectangle { + width: 500 + height: 50 + color: "lightBlue" + Rectangle { + width: myText.width + height: myText.height + color: "white" + anchors.centerIn: parent + Text { + id: myText + width: NumberAnimation { from: 500; to: 0; loops: Animation.Infinite; duration: 1000 } + elide: "ElideRight" + text: "Brevity is the soul of wit, and tediousness the limbs and outward flourishes.\x9CBrevity is a great charm of eloquence.\x9CBe concise!\x9CSHHHHHHHHHHHHHHHHHHHHHHHHHHHH" + } + } +}