tests/manual/scenegraph_lancelot/data/text/text_floating_image_left.qml
raw| 1 | import QtQuick 2.0 |
| 2 | |
| 3 | Item { |
| 4 | width: 320 |
| 5 | height: 480 |
| 6 | |
| 7 | Text { |
| 8 | anchors.centerIn: parent |
| 9 | font.pixelSize: 16 |
| 10 | width: parent.width |
| 11 | wrapMode: Text.WrapAtWordBoundaryOrAnywhere |
| 12 | textFormat: Text.RichText |
| 13 | text: "This image is to the<img align=left src=\"data/logo.png\" /> left of the text <br />More text" |
| 14 | } |
| 15 | } |