diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/textedit_selected_space.qml')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/text/textedit_selected_space.qml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/textedit_selected_space.qml b/tests/manual/scenegraph_lancelot/data/text/textedit_selected_space.qml new file mode 100644 index 0000000000..9fe74e0b83 --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/text/textedit_selected_space.qml @@ -0,0 +1,19 @@ +import QtQuick 2.0 + +Item { + width: 320 + height: 480 + + TextEdit { + id: textEdit + anchors.centerIn: parent + font.family: "Arial" + font.pixelSize: 16 + text: "Lorem Ipsum (space should be selected)" + + Component.onCompleted: { + textEdit.select(5, 6) + } + } + +} |