Commit 51522bb9 authored by Nico Vertriest's avatar Nico Vertriest Committed by Topi Reiniö
Browse files

Doc: edited lines which exceeded 80 positions


Change-Id: I455eb953ee2267d878ca1cab3d36b7da59221e2b
Reviewed-by: default avatarTopi Reiniö <topi.reinio@qt.io>
parent 3257c183
Branches
Tags
No related merge requests found
Showing with 7 additions and 4 deletions
......@@ -77,11 +77,15 @@ Item {
// 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
// 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.'
// 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"
......@@ -108,7 +112,6 @@ Item {
// StyledText format supports fewer tags, but is more efficient than RichText
textFormat: Text.StyledText
}
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment