docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Auto Layout

    The auto layout system provides ways to place elements in nested layout groups such as horizontal groups, vertical groups, or grids. It also allows elements to automatically be sized according to the contained content.

    Topic Description
    Layout Element Controls the minimum, preferred, and flexible sizes of a layout element.
    Content Size Fitter Controls the size of its own layout element.
    Aspect Ratio Fitter Sizes the RectTransform to maintain a specific aspect ratio.
    Horizontal Layout Group Arranges child elements in a horizontal row.
    Vertical Layout Group Arranges child elements in a vertical column.
    Grid Layout Group Arranges child elements in a grid.
    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)