Layout Component Reference

    Click the Add Component button at the bottom of the Inspector panel and select UI -> Layout to add the Layout component to the node.

    To use , please refer to the Layout API documentation and the of the test-cases-3d project.

    Detailed Explanation

    After adding the component, the default layout type is NONE, you can toggle the container alignment type by modifying Type in Inspector. The types are HORIZONTAL, VERTICAL and GRID layouts. Also, ResizeMode is supported for all layout types except NONE.

      • When Constraint is NONE, the layout is free of Constraint.

      • When Constraint is FIXED_COL, a fixed number of columns is used with .