tests/manual/scenegraph_lancelot/data/text/text_underline_merged.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.family: "Arial" |
| 10 | font.pixelSize: 16 |
| 11 | textFormat: Text.RichText |
| 12 | width: parent.width |
| 13 | wrapMode: Text.WrapAtWordBoundaryOrAnywhere |
| 14 | text: "<u>Lorem</u> ipsum <u><font size=20>dolor sit amet</font>, consect</u>etur." |
| 15 | } |
| 16 | } |