This commit is contained in:
2025-01-17 13:10:42 +01:00
commit 4536213c91
15115 changed files with 1442174 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# Margin
You can increase the horizontal margins of the text with the `<margin>` tag.
If you only want to adjust the left or right margin, you can use the `<margin-left>` or `<margin-right>` tag.
You can specify the margins in pixels, font units, and percentages. Negative values have no effect.
Adjustments you make using this tag are relative to the margins specified in the [TexMesh Pro object](TMPObjectUIText.md#extra-settings). The `</margin>` closing tag reverts to this value.
**Example:**
```
Our margins used to be very wide.
<margin=5em>But those days are long gone.
```
![Example image](../images/TMP_RichTextMargins.png)<br/>
_Adjusting margins_