aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/scenegraph_lancelot/data/text/text_background_color_styledtext.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manual/scenegraph_lancelot/data/text/text_background_color_styledtext.qml')
-rw-r--r--tests/manual/scenegraph_lancelot/data/text/text_background_color_styledtext.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/manual/scenegraph_lancelot/data/text/text_background_color_styledtext.qml b/tests/manual/scenegraph_lancelot/data/text/text_background_color_styledtext.qml
new file mode 100644
index 0000000000..ebf3adc035
--- /dev/null
+++ b/tests/manual/scenegraph_lancelot/data/text/text_background_color_styledtext.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.0
+
+Item {
+ width: 320
+ height: 480
+
+ Text {
+ anchors.centerIn: parent
+ font.pixelSize: 16
+ color: "green"
+ textFormat: Text.StyledText
+ text: "<body bgcolor=lightblue>Some text<br />Some more text</body>"
+ }
+}