Debian Codegraph @

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

raw
1 import QtQuick 2.0
2
3 Item {
4 width: 200
5 height: 480
6
7 TextEdit {
8 id: textEdit
9 anchors.centerIn: parent
10 font.family: "Arial"
11 font.pixelSize: 64
12 width: 200
13 textFormat: TextEdit.RichText
14 wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
15 text: "ABC ABC<br>ABC"
16
17 Component.onCompleted: {
18 textEdit.selectAll()
19 }
20 }
21
22 }