Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qmlvisual / qdeclarativetext / maximumLineCount / newLines_wrap.qml
1 import QtQuick 1.0
2 import "../../shared" 1.0
3
4 Rectangle {
5     width: childrenRect.width
6     height: childrenRect.height
7
8     TestText {
9         width:  80
10         maximumLineCount: 3
11         wrapMode: Text.WordWrap
12         text: "Line1 has a more\nLine2\nLine3\nLine4"
13     }
14 }