Columns.StretchMode
Indicates how the size of a stretchable column in this collection should get automatically adjusted as other columns or its containing view get resized. The default value is Columns.StretchMode.Grow.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Enum
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public enum Columns.StretchMode
Fields
Value | Description |
|---|---|
| Grow | The size of stretchable columns is automatically and proportionally adjusted only as its container gets resized. Unlike Columns.StretchMode.GrowAndFill, the size is not adjusted to fill any available space within its container when other columns are resized. |
| GrowAndFill | The size of stretchable columns is automatically adjusted to fill the available space within its container when this container or other columns get resized |