> For the complete documentation index, see [llms.txt](https://docs.overdare.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overdare.com/development/api-reference/classes/uitablelayout.md).

# UITableLayout

UITableLayout : `UIGridStyleLayout`

## Overview

A layout that arranges sibling UI elements in the form of a table.

Depending on MajorAxis, each sibling UI element is treated as a single row or column, and its child UI elements are arranged as cells laid out along the opposite axis. The width of each column fits the widest cell in that column, and the height of each row fits the tallest cell in that row, so cells under different parents are also aligned to the same column.

The order of rows or columns is determined by SortOrder, and the order of cells within each row and column is determined by LayoutOrder.

UITableLayout can be controlled only in **client environment**.

## Properties

### FillEmptySpaceColumns

`boolean`

Specifies whether to divide the leftover horizontal space in the parent UI area equally among all columns.

It always operates on columns (horizontal direction) regardless of the MajorAxis setting. The default is false.

#### Code Samples

### FillEmptySpaceRows

`boolean`

Specifies whether to divide the leftover vertical space in the parent UI area equally among all rows.

It always operates on rows (vertical direction) regardless of the MajorAxis setting. The default is false.

#### Code Samples

### MajorAxis

`Enum.TableMajorAxis`

Specifies whether sibling UI elements are treated as rows or columns.

The default is RowMajor.

#### Code Samples

### Padding

`UDim2`

Specifies the spacing between table cells with UDim2.

The X value is the spacing between columns, and the Y value is the spacing between rows. The default is `UDim2.new(0, 0, 0, 0)`.

#### Code Samples

## Methods

## Events
