diff options
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/element_sizes.qml')
-rw-r--r-- | tests/manual/scenegraph_lancelot/data/text/element_sizes.qml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/element_sizes.qml b/tests/manual/scenegraph_lancelot/data/text/element_sizes.qml new file mode 100644 index 0000000000..d570caba9d --- /dev/null +++ b/tests/manual/scenegraph_lancelot/data/text/element_sizes.qml @@ -0,0 +1,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 + } +} |