new HBoxContainer()
Horizontal Box Container or HBoxContainer is a container that arranges its children horizontally.
Name | Type | Default | Description |
---|---|---|---|
spacing | number | 0 | The spacing between the children. |
- Source
Extends
Members
(readonly) properties
The entity that this component is attached to.
- Inherited From
- Source
spacing :number
Space between the children.
Type:
- number
- Source
Methods
Update()
Update all the children's UITransform components. Every time there is a change in the children,or sizes of the container, this method should be called.
- Overrides