UnityGame/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextLineIndentation.md
2024-10-27 10:53:47 +03:00

17 lines
624 B
Markdown

# Line Indentation
The `<line-indent>` tag inserts horizontal space directly after it, and before the start of each new line. It only affects manual line breaks (including line breaks created with the [`<br>` tag](RichTextLineBreak.md), not word-wrapped lines.
You can specify the indentation in pixels, font units, or percentages.
The `</line-indent>` closing tag ends the indentation of lines.
**Example:**
```
<line-indent=15%>This is the first line of this text example.
This is the second line of the same text.
```
![Example image](../images/TMP_RichTextLineIndent.png)<br/>
_Indent every new line, with one tag_