docs.unity3d.com
    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

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023