blob: 7725131d5fe7f81b6ef994b50935416a1870763e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import QtQuick 2.0
Item {
width: 320
height: 480
Text {
anchors.centerIn: parent
font.family: "Arial"
font.pixelSize: 16
textFormat: Text.RichText
width: parent.width
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
text: "<u>Lorem</u> ipsum <u><font size=20 style=\"color: red\">dolor sit amet</font>, consect</u>etur."
}
}
|