diff options
Diffstat (limited to 'tests/testapplications/elements/content/TextElement.qml')
-rw-r--r-- | tests/testapplications/elements/content/TextElement.qml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testapplications/elements/content/TextElement.qml b/tests/testapplications/elements/content/TextElement.qml index 35980cec29..bfdcc2e886 100644 --- a/tests/testapplications/elements/content/TextElement.qml +++ b/tests/testapplications/elements/content/TextElement.qml @@ -49,7 +49,9 @@ Item { Text { id: textelement property int pseudopointsize: 12 - anchors.centerIn: parent + anchors.horizontalCenter: parent.horizontalCenter + anchors.bottom: parent.bottom + anchors.bottomMargin: 15 height: 200; width: parent.width *.8; wrapMode: Text.WordWrap; font.pointSize: 12 text: "Hello, my name is Text"; horizontalAlignment: Text.AlignHCenter; textFormat: Text.PlainText Behavior on font.pointSize { NumberAnimation { duration: 1000 } } |