aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned.qml')
-rw-r--r--tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned.qml b/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned.qml
new file mode 100644
index 0000000000..340b096ab3
--- /dev/null
+++ b/tests/manual/scenegraph_lancelot/data/text/textedit_multiline_center_aligned.qml
@@ -0,0 +1,18 @@
+import QtQuick 2.0
+
+Item {
+ width: 320
+ height: 480
+
+ TextEdit {
+ id: textEdit
+ anchors.centerIn: parent
+ font.family: "Arial"
+ font.pixelSize: 16
+ width: 200
+ wrapMode: TextEdit.WrapAtWordBoundaryOrAnywhere
+ horizontalAlignment: TextEdit.AlignHCenter
+ text: "Lorem ipsum dolor sit amet, consectetur adipiscing elit. In id diam vitae enim fringilla vestibulum. Pellentesque non leo justo, quis vestibulum augue"
+ }
+
+}