Rasagar/Library/PackageCache/com.unity.ugui/Documentation~/TextMeshPro/RichTextPos.md
2024-08-26 23:07:20 +03:00

501 B

Horizontal Position

The <pos> tag gives you direct control over the horizontal caret position. This works best with horizontal alignment.

The <pos> tag's position in the line has no effect on the caret position.

This tag is best used with left alignment.

You can specify the horizontal position in pixels, font units, or percentages.

Example:

at <pos=75%>75%
at <pos=25%>25%
at <pos=50%>50%
at 0%

Example image
Setting caret positions