PowerHorse Engine
    Preparing search index...

    Type Alias ContainerComponentProps

    ContainerComponentProps: Props<Frame> & {
        CellPadding?: UDim2;
        CellSize?: UDim2;
        FillDirection?: Enum.FillDirection;
        FillDirectionMaxCells?: number;
        HorizontalAlignment?: Enum.HorizontalAlignment;
        SortOrder?: Enum.SortOrder;
        StartCorner?: Enum.StartCorner;
        UIPadding?: number | Vector2 | UDim | [UDim, UDim, UDim, UDim];
        VerticalAlignment?: Enum.VerticalAlignment;
    }

    A Frame with UIPadding and UIGridLayout support.

    Type Declaration

    • OptionalCellPadding?: UDim2

      CellPadding applied to the UIGridLayout.

    • OptionalCellSize?: UDim2

      CellSize applied to the UIGridLayout.

    • OptionalFillDirection?: Enum.FillDirection

      FillDirection applied to the UIGridLayout.

    • OptionalFillDirectionMaxCells?: number
    • OptionalHorizontalAlignment?: Enum.HorizontalAlignment

      HorizontalAlignment applied to the UIGridLayout.

    • OptionalSortOrder?: Enum.SortOrder

      SortOrder applied to the UIGridLayout.

    • OptionalStartCorner?: Enum.StartCorner

      StartCorner applied to the UIGridLayout.

    • OptionalUIPadding?: number | Vector2 | UDim | [UDim, UDim, UDim, UDim]

      Padding applied to the created UIPadding, NOT the Padding of the UIGridLayout.

      • if a number, all sides will have the offset of the number provided.
      • if a Vector2, left and right will have values of X, top and bottom will have values of Y.
      • if a UDim, UDim will be applied to all sides.
      • If an array of UDims, In order: left, top, right, bottom.
    • OptionalVerticalAlignment?: Enum.VerticalAlignment

      VerticalAlignment applied to the UIGridLayout.