Enum ContentSizeFitter.FitMode
Determines how the size of the layout element will adapt to its size properties.
Namespace: UnityEngine.UI
Assembly: UnityEngine.UI.dll
Syntax
public enum ContentSizeFitter.FitMode
Fields
| Name | Description |
|---|---|
| Clamped | Clamp size of the content between minimum and maximum sizes. |
| MinSize | Resize to the minimum size of the content. |
| PreferredSize | Resize to the preferred size of the content and clamp it between its min and max sizes. |
| Unconstrained | Don't perform any resizing. |