diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned_selected_eol.qml')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned_selected_eol.qml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned_selected_eol.qml b/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned_selected_eol.qml new file mode 100644 index 0000000000..e9540059d2 --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned_selected_eol.qml @@ -0,0 +1,22 @@ +import QtQuick 2.0 + +Item { + width: 320 + height: 480 + + TextEdit { + id: textEdit + anchors.centerIn: parent + font.family: "Arial" + font.pixelSize: 16 + width: 200 + wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere + horizontalAlignment: TextEdit.AlignHCenter + text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id diam vitae enim fringilla vestibulum. Pellentesque non leo justo, quis vestibulum augue" + + Component.onCompleted: { + textEdit.select(63, 67) + } + } + +} |