2 import "../../shared" 1.0
5 id: s; width: 620; height: 360; color: "lightsteelblue"
6 property string text: "Jackdaws love my big sphinx of quartz."
11 text: s.text; horizontalAlignment: Text.AlignLeft; width: s.width
15 text: s.text; horizontalAlignment: Text.AlignHCenter; verticalAlignment: Text.AlignVCenter; width: s.width;
19 text: s.text; horizontalAlignment: Text.AlignRight; verticalAlignment: Text.AlignBottom; width: s.width;
25 text: s.text; color: "red"; smooth: true
28 text: s.text; font.capitalization: "AllUppercase"
31 text: s.text; font.underline: true
34 text: s.text; font.overline: true; smooth: true
37 text: s.text; font.strikeout: true
40 text: s.text; font.underline: true; font.overline: true; font.strikeout: true
43 text: s.text; style: Text.Outline; styleColor: "white"
46 text: s.text; style: Text.Sunken; styleColor: "gray"
49 text: s.text; style: Text.Raised; styleColor: "yellow"
52 text: s.text; font.letterSpacing: 2
56 text: s.text; font.underline: true; font.letterSpacing: 2; font.capitalization: "AllUppercase"; color: "blue"
59 text: s.text; font.overline: true; font.wordSpacing: 25; font.capitalization: "Capitalize"; color: "green"
62 height: childrenRect.height
65 text: s.text; elide: Text.ElideLeft; width: 200
68 text: s.text; elide: Text.ElideMiddle; width: 200
71 text: s.text; elide: Text.ElideRight; width: 200
75 height: childrenRect.height
78 text: s.text; elide: Text.ElideLeft; width: 200; wrapMode: Text.WordWrap
81 text: s.text; elide: Text.ElideMiddle; width: 200; wrapMode: Text.WordWrap
84 text: s.text; elide: Text.ElideRight; width: 200; wrapMode: Text.WordWrap
88 height: childrenRect.height
91 text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.WrapAnywhere
94 text: s.text + " thisisaverylongstringwithnospaces"; width: 150; wrapMode: Text.Wrap
97 text: s.text; font.pixelSize: 18; style: Text.Outline; styleColor: "white"; wrapMode: Text.WordWrap; width: 200