diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/maximumLineCount/wrap_elide.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetext/maximumLineCount/wrap_elide.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/maximumLineCount/wrap_elide.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/maximumLineCount/wrap_elide.qml new file mode 100644 index 0000000..785c5f5 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/maximumLineCount/wrap_elide.qml @@ -0,0 +1,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" + } +} |