2 import "../../shared" 1.0
4 //This is a continuation of richtext.qml, it was bisected so that it could fit on smaller screens
6 id: s; width: 620; height: 300; color: "lightsteelblue"
7 property string text: "<b>The</b> <i>quick</i> <u>brown</u> <o>fox</o> <big>jumps</big> <small>over</small> <tt>the</tt> <s>lazy</s> <em>dog</em>."
12 text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"
15 text: s.text; font.pixelSize: 18; style: Text.Sunken; styleColor: "gray"
18 text: s.text; font.pixelSize: 18; style: Text.Raised; styleColor: "yellow"
21 text: s.text; horizontalAlignment: Text.AlignLeft; width: s.width
24 text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: s.width; height: 20
27 text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: s.width; height: 20
30 height: childrenRect.height;
33 text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAnywhere
36 text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.Wrap
39 text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrapMode: Text.WordWrap; width: 200