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

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

    TestText {
        width:  80
        maximumLineCount: 3
        wrapMode: Text.WordWrap
        elide: Text.ElideRight
        text: "The quick brown fox jumped over the lazy dog"
    }
}