LayoutGroupComponent: {
    alignment: number[];
    enabled: boolean;
    heightFitting: number;
    orientation: number;
    padding: number[];
    reverseX: boolean;
    reverseY: boolean;
    spacing: number[];
    widthFitting: number;
    wrap: boolean;
}

LayoutGroup Component Properties.

Type declaration

  • alignment: number[]

    An array of 2 numbers controlling the horizontal and vertical alignment of child elements.

    [0,1]
    
  • enabled: boolean

    Whether the component is enabled.

    true
    
  • heightFitting: number

    Fitting logic to be applied when positioning and scaling child elements.

    0
    
  • orientation: number

    Whether the layout should run horizontally or vertically.

    0
    
  • padding: number[]

    An array of 4 numbers controlling the padding to be applied inside the container before positioning any children.

    [0,0,0,0]
    
  • reverseX: boolean

    Reverses the order of elements on the X axis.

    false
    
  • reverseY: boolean

    Reverses the order of elements on the Y axis.

    true
    
  • spacing: number[]

    An array of 2 numbers controlling the spacing to be applied between each child element.

    [0,0]
    
  • widthFitting: number

    Fitting logic to be applied when positioning and scaling child elements.

    0
    
  • wrap: boolean

    Whether or not to wrap children onto a new row/column when the size of the container is exceeded.

    false