LayoutGroup
extends EngineObject
The LayoutGroup class represents a layout container for a group of child controls, used to control the arrangement of these elements within the container.
To obtain a LayoutGroup object, refer to Control.layoutGroup.
成员变量
LayoutGroup.layoutGroupType : LayoutGroupType |
| (Read Only) The UI layout type of the current control. |
LayoutGroup.layoutAlignment : LayoutAlignmentType |
| The alignment of child controls in UI layout. |
LayoutGroup.top : number |
| Top indentation of UI layout. |
LayoutGroup.bottom : number |
| Bottom indentation of UI layout. |
LayoutGroup.left : number |
| Left indentation of UI layout. |
LayoutGroup.right : number |
| Right indentation of UI layout. |
LayoutGroup.limitSize : boolean |
| Determine if the UI layout restricts the size of child controls. |
LayoutGroup.childSize : Vector2 |
| Restricts the size of child controls in UI layout. |
