Class ccui.VBox

Class Summary
Constructor Attributes Constructor Name and Description
 
The vertical box of Cocos UI.

Method Summary

Class Detail

ccui.VBox()
The vertical box of Cocos UI. Its layout type is ccui.Layout.LINEAR_VERTICAL.

Method Detail

  • <static> {ccui.VBox} ccui.VBox.create(size)
    Creates a VBox
    Parameters:
    {cc.Size} size
    Returns:
    {ccui.VBox}
  • ctor(size)
    The constructor of ccui.VBox
    Parameters:
    {cc.Size} size
  • {boolean} initWithSize(size)
    Initializes a VBox with size.
    Parameters:
    {cc.Size} size
    Returns:
    {boolean}