Layout.ResizeMode
Enum
Module: cc
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:71 |
CONTAINER
The container size will be expanded with its children's size.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLayout.js:77 |
CHILDREN
Child item size will be adjusted with the container's size.
meta | description |
---|---|
Type | Number |
Defined in | cocos2d/core/components/CCLayout.js:83 |