summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlvisual/qdeclarativetext/maximumLineCount/newLines.qml
blob: 4e993c697241bbdac0a5fb90d3198579a5e70cd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import QtQuick 1.0
import "../../shared" 1.0

Rectangle {
    width: childrenRect.width
    height: childrenRect.height

    TestText {
        width:  80
        maximumLineCount: 2
        text: "Line1\nLine2\nLine3\nLine4"
    }
}