diff options
author | Nico Vertriest <nico.vertriest@qt.io> | 2017-03-02 11:52:38 +0100 |
---|---|---|
committer | Topi Reiniƶ <topi.reinio@qt.io> | 2017-06-12 12:11:07 +0000 |
commit | 51522bb943faa42c9f81b6ec8b3bf2a2ae3e06a7 (patch) | |
tree | 04e0d8fb00c897bd38e1a19ee14658b6d5b32756 | |
parent | 3257c183951b325fd8e3f8fd57fbeab77d27286e (diff) |
Doc: edited lines which exceeded 80 positions
Change-Id: I455eb953ee2267d878ca1cab3d36b7da59221e2b
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r-- | doc/snippets/qmlapp/usecases/text.qml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/snippets/qmlapp/usecases/text.qml b/doc/snippets/qmlapp/usecases/text.qml index d0a754994..6d2320c3f 100644 --- a/doc/snippets/qmlapp/usecases/text.qml +++ b/doc/snippets/qmlapp/usecases/text.qml @@ -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 - } } } |