VerticalLayout

inherit qc.TableLayout

Descrpition

Layout child layout elements below each other.

The VerticalLayoutGroup component is used to layout child layout elements below each other according to their respective minimum, preferred, and flexible heights.

It initialize these following paras for qc.TableLayout

    this.style = qc.TableLayout.STYLE_RESIZE_ELEMENT;
    this.constraint = qc.TableLayout.CONSTRAINT_FIX_ROW_COUNT;
    this.contentSizeProvider = qc.TableLayout.USE_RECTTRANSFORM;
    this.stride = 1;
    this.startCorner = qc.TableLayout.CORNER_TOP_LEFT;
    this.startAxis = qc.TableLayout.AXIS_HORIZONTAL;

Variables

Variable Name Type Description
spacing int Spacing value
childForceExpandWidth int Whether to stretch width forcely
childForceExpandHeight int Whether to stretch height forcely

Methods

Method Description
getCellLayout Get the layout of a cell

Manual

TableLayout