aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testapplications/elements/content/FontLoaderElement.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testapplications/elements/content/FontLoaderElement.qml')
-rw-r--r--tests/testapplications/elements/content/FontLoaderElement.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testapplications/elements/content/FontLoaderElement.qml b/tests/testapplications/elements/content/FontLoaderElement.qml
index 0dd9cf03bf..3aab22d1b0 100644
--- a/tests/testapplications/elements/content/FontLoaderElement.qml
+++ b/tests/testapplications/elements/content/FontLoaderElement.qml
@@ -55,7 +55,9 @@ Item {
Text {
id: textitem
- anchors.centerIn: parent
+ anchors.horizontalCenter: parent.horizontalCenter
+ anchors.bottom: parent.bottom
+ anchors.bottomMargin: 15
height: 100; width: 250; text: fontloaderelement.name; font: fontloaderelement.name
horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter
}