diff options
Diffstat (limited to 'tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml')
-rw-r--r-- | tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml new file mode 100644 index 0000000..01de1f0 --- /dev/null +++ b/tests/auto/declarative/qmlvisual/qdeclarativetext/font/plaintext2.qml @@ -0,0 +1,23 @@ +import QtQuick 1.0 +import "../../shared" 1.0 + +Rectangle { + width: 400; height: 200 + + Row { + spacing: 20 + anchors.centerIn: parent + TestText { + text: "First line\nSecond line"; wrapMode: Text.Wrap + } + TestText { + text: "First line\nSecond line"; width: 70 + } + TestText { + text: "First Second\nThird Fourth"; wrapMode: Text.Wrap; width: 50 + } + TestText { + text: "First line<br>Second line"; textFormat: Text.StyledText + } + } +} |