aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/controls/data/textarea/textarea.qml
blob: 57b57606b4e6b311369122bbe175147ec5b9cc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts

ColumnLayout {
    spacing: 2
    width: 200

    TextArea {
        text: "TextArea\n...\n...\n...\n..."
        cursorVisible: false
    }

    TextArea {
        placeholderText: "TextArea\n...\n...\n..."
        enabled: false
        cursorVisible: false
    }

    TextArea {
        placeholderText: "TextArea\n...\n...\n..."
        focus: true
        cursorDelegate: Item {}
    }

    TextArea {
        text: "TextArea\n...\n...\n...\n..."
        LayoutMirroring.enabled: true
        cursorVisible: false
    }
}