Layout.ResizeMode
Enum
Enum for Layout Resize Mode
Index
NONE
CONTAINER
CHILDREN
Details
NONE
Don't do any scale.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLayout.js:70 |
CONTAINER
The container size will be expanded with its children's size.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLayout.js:76 |
CHILDREN
Child item size will be adjusted with the container's size.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLayout.js:82 |