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