VerticalListJoint:set_grow
Sets the growth factor on this list element.
Usage
vertical_list_joint:set_grow(factor)
Arguments
| Name | Type | Description |
|---|---|---|
factor | number | Growth factor. |
Examples
local list = crystal.VerticalList:new();
local image = list:add_child(crystal.Image:new());
image:set_grow(2);
print(image:grow()); -- Prints "2"