FUNCTION REFERENCE

GridLayout

Grid layout container object returned by uigridlayout.

Grid layout container object returned by uigridlayout.

Syntax

g = uigridlayout(parent)

Syntax

g = uigridlayout(parent, [m n])

Holds RowHeight, ColumnWidth, Padding, RowSpacing, ColumnSpacing, Scrollable, Children and Parent properties for arranging child UI components in rows and columns.

Example

fig = uifigure('Visible', 'off'); g = uigridlayout(fig, [2 2]); numel(g.RowHeight); delete(fig)

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.