aboutsummaryrefslogtreecommitdiffstats
path: root/tests/baseline/controls/data/textarea/textarea.qml
blob: be95a725c38914a1428736d215a9c6e92716e148 (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..."
        cursorDelegate: Item {}
    }

    TextArea {
        placeholderText: "TextArea\n...\n...\n..."
        enabled: false
        cursorDelegate: Item {}
    }

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

    TextArea {
        text: "TextArea\n...\n...\n...\n..."
        LayoutMirroring.enabled: true
        cursorDelegate: Item {}
    }
}