docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum InputLabelColumns

    How a grid InputLabel hands its control cell to the children.

    Namespace: Unity.AppUI.UI
    Assembly: Unity.AppUI.dll
    Syntax
    public enum InputLabelColumns
    Remarks

    The registry's PropertyField takes columns: false | true | 'pair'. A bool cannot carry three states, so the UI Toolkit property is this enum.

    Fields

    Name Description
    Even

    The children share the control cell evenly, in a row. The registry hands the cell's columns to the children as a subgrid; UI Toolkit has no subgrid, so a child that needs a bigger share sets its own flex-grow instead of a column span.

    None

    The children stack in the control cell as an ordinary flex column. The default.

    Pair

    The control cell splits into exactly two equal halves, with the inspector grid gap between them, for a pair of controls such as a slider and its number field. The halves stay halves whatever the children are: a lone child takes the first half, not the whole cell.

    In This Article
    Back to top
    Copyright © 2026 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)