blob: c16bc9cdf75d646e946ee2b66f59cbe9f5298a5d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import QtQuick 2.0
Item {
width: 550
height: 480
TextEdit {
id: textEdit
anchors.centerIn: parent
width: 550
textFormat: TextEdit.RichText
text: "A<br />
This is a long message to demenostrate a text selection issue. I need to type some more text here. This is line 3<br />
This is a long message to demenostrate a text selection issue. I need to type some more text here. This is line 4"
wrapMode: TextEdit.Wrap
Component.onCompleted: {
textEdit.selectAll()
}
}
}
|