Skip to content
Roblox API Reference

UIGridLayout

Positions sibling UI elements by filling rows using the space of the parent UI element.
Memory category
Instances
Own members
6
Inherited members
82
Subclasses
0
Siblings
4

Properties34

Inherited fromObject2

Property categoryData

Inherited fromInstance21

Property categoryBehavior

Property categoryData

Property categoryPermissions

Inherited fromUIGridStyleLayout5

Property categoryAlignment

Property categoryBehavior

Property categoryData

Defined byUIGridLayout6

Property categoryAppearance

  • UIGridLayout.CellPadding: UDim2 = UDim2.new(0, 5, 0, 5)
    Determines how much space there is between elements in the grid.
    • Read capabilities: UI
  • UIGridLayout.CellSize: UDim2 = UDim2.new(0, 100, 0, 100)
    Determines the size of each element in the grid.
    • Read capabilities: UI

Property categoryBehavior

  • UIGridLayout.FillDirectionMaxCells: number = 0
    Determines the maximum number of cells that may be used in a row or column before the next one is started.
    • Read capabilities: UI
  • UIGridLayout.StartCorner: Enum.StartCorner = Enum.StartCorner.TopLeft
    Determines from which corner the grid starts laying out UI elements.
    • Read capabilities: UI

Property categoryData

  • UIGridLayout.AbsoluteCellCount: Vector2 = Vector2.zero
    The number of elements in the grid.
    • Read only
    • Thread unsafe
    • Read capabilities: UI
  • UIGridLayout.AbsoluteCellSize: Vector2 = Vector2.new(100, 100)
    The absolute size of each element in the grid.
    • Read only
    • Thread unsafe
    • Read capabilities: UI

Methods44

Inherited fromObject3
  • Get an event that fires when a given property of the object changes.
    Parameters
    ParameterDescription
    property: string
    The property to connect to.
    Returns
    TypeDescription
    RBXScriptSignal
    A signal that fires whenever the property changes.
  • Object:IsA(className: string): boolean
    Returns true if an object's class matches or inherits from a given class.
    • Custom Lua state
    • Thread safe
    Parameters
    ParameterDescription
    className: string
    The class against which the Object's class will be checked. Case-sensitive.
    Returns
    TypeDescription
    boolean
    Describes whether the Object's class matched or is a subclass of the given class.
  • Object:isA(className: string): boolean
    Deprecated: This deprecated function is a variant of Object:IsA() which should be used instead.
    • Deprecated
    • Custom Lua state
    Parameters
    Parameter
    className: string
    Returns
    Type
    boolean

    Use IsA instead.

Inherited fromInstance39
Inherited fromUIGridStyleLayout2

Events10

Inherited fromObject1
Inherited fromInstance9