text:'I am the very model of a modern major general!'
// color can be set on the entire element with this property
color:"yellow"
}
Text{
// For text to wrap, a width has to be explicitly provided
width:root.width
// This setting makes the text wrap at word boundaries when it goes past the width of the Text object
wrapMode:Text.WordWrap
// You can use \ to escape quotation marks, or to add new lines (\n). Use \\ to get a \ in the string
text:'I am the very model of a modern major general. I\'ve information vegetable, animal and mineral. I know the kings of england and I quote the fights historical; from Marathon to Waterloo in order categorical.'
// color can be set on the entire element with this property
color:"white"
}
Text{
text:'I am the very model of a modern major general!'
// color can be set on the entire element with this property
color:"yellow"
// font properties can be set effciently on the whole string at once