Debian Codegraph @

tests/manual/scenegraph_lancelot/data/text/element_sizes.qml

raw
1 import QtQuick 2.0
2
3 //compare default font sizes
4 Item {
5 width: 320
6 height: 480
7 Text {
8 id: text_0000
9 anchors.top: parent.top
10 anchors.left: parent.left
11 text: "The quick brown fox jumps over the lazy dog. 0123456789"
12 font.family: "Arial"
13 font.pixelSize: 14
14 }
15 TextEdit {
16 id: text_0001
17 anchors.top: text_0000.bottom
18 anchors.left: parent.left
19 text: "The quick brown fox jumps over the lazy dog. 0123456789"
20 font.family: "Arial"
21 font.pixelSize: 14
22 }
23 TextInput {
24 id: text_0002
25 anchors.top: text_0001.bottom
26 anchors.left: parent.left
27 text: "The quick brown fox jumps over the lazy dog. 0123456789"
28 font.family: "Arial"
29 font.pixelSize: 14
30 }
31 }