summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativetext/data/lineCount.qml
blob: 63817f6f2ab5a2a52737b04d6fbcb4d2f98aeb4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQuick 1.1

Item {
    width: 200
    height: 200

    Text {
        id: myText
        objectName: "myText"
        width: 200
        wrapMode: Text.WordWrap
        maximumLineCount: undefined
        text: "Testing that maximumLines, visibleLines, and totalLines works properly in the autotests. The quick brown fox jumped over the lazy anything with the letter 'g'."
    }
}