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 | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:69 |
CONTAINER
The container size will be expanded with its children's size.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:75 |
CHILDREN
Child item size will be adjusted with the container's size.
meta | description |
---|---|
Type | Number |
Defined in | https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCLayout.js:81 |