The description of the special characters used within the 'String' property of 'Views::Text' items is placed directly in the 'Description' field of the property: Just select the property 'String' within the Inspector, then you can see the corresponding description:
The property 'String' stores the text to print in this view. The corresponding font is determined by the property 'Font'. The text can consist of several rows separated by the new-line sign '\n'. Optionally an automatic text wrap can be performed if the property 'WrapText' is 'true'. The automatic text wrap takes place primarily between words.
More sophisticated text wrap can be controlled by following special signs used within the text:
- The tilde sign '~' and the soft-hyphen sign '\x00AD' identify a potential text wrap position. They are usually not displayed until the text wrap took place at their position. Then the text row is terminated with a hyphen '-' sign.
- The circumflex accent '^' sign identifies a potential text wrap position without ever being visible.
In order to be able to output the special characters '^', '~' and '\x00AD' as regular signs, the character '%' can be applied in front of the affected sign to convert it to a regular sign.
To show the '%' sign itself, use '%%' sequence.