aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquicktextedit/data/cursorHeight.qml
blob: b831a9eb6f9f2376b025941440909691f5dec8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import QtQuick 2.0

Rectangle {
    width: 300
    height: 300
    color: "white"

    TextEdit {
        objectName: "textEditObject"
        width: 300
        height: 300
        text: "<span style=\"font-size:20pt;\">Blah</span><br>blah"
        textFormat: TextEdit.RichText
        cursorDelegate: Rectangle {
            objectName: "cursorInstance"
            color: "red"
            width: 2
        }
    }
}