aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot/data/text/element_sizes.qml
blob: d570caba9d8dfc1801cfcc530c32d55783e72543 (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
import QtQuick 2.0

//compare default font sizes
Item {
    width: 320
    height: 480
    Text {
        id: text_0000
        anchors.top: parent.top
        anchors.left: parent.left
        text: "The quick brown fox jumps over the lazy dog. 0123456789"
        font.family: "Arial"
        font.pixelSize: 14
    }
    TextEdit {
        id: text_0001
        anchors.top: text_0000.bottom
        anchors.left: parent.left
        text: "The quick brown fox jumps over the lazy dog. 0123456789"
        font.family: "Arial"
        font.pixelSize: 14
    }
    TextInput {
        id: text_0002
        anchors.top: text_0001.bottom
        anchors.left: parent.left
        text: "The quick brown fox jumps over the lazy dog. 0123456789"
        font.family: "Arial"
        font.pixelSize: 14
    }
}