docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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. The </margin> closing tag reverts to this value.

    Example:

    Our margins used to be very wide.
    <margin=5em>But those days are long gone.
    


    Adjusting margins

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)