Debian Codegraph @

tests/manual/scenegraph_lancelot/data/text/textinput_selected_space.qml

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 320
5 height: 480
6
7 TextInput {
8 id: textInput
9 anchors.centerIn: parent
10 font.family: "Arial"
11 font.pixelSize: 16
12 text: "Lorem Ipsum (space should be selected)"
13
14 Component.onCompleted: {
15 textInput.select(5, 6)
16 }
17 }
18
19 }