Aligns child views into rows and columns.
<Grid ... />This component is backed by the platform control or container. Prefer its XML tag in an .etlua template; keep view-tree construction out of controllers.
| Name | Type | Required | Description |
|---|---|---|---|
alignment |
value | optional | Component-specific setting passed to the native control. |
content |
value | optional | Rendered child content or the control’s text value. |
spacing |
number | optional | Component-specific setting passed to the native control. |
<Grid />
- AppKit uses the AppKit implementation. UIKit uses the UIKit implementation.
Source: lua/embedded/AppKit.lua:723 (AppKit.Grid)