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 |
| 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. |