Builds a vertical ui.TYPE.Flex. Put child layouts directly in the array portion of the options table; gap inserts fixed spacing between them. Explicit children or content remains available when data is already in that form.
Example
local H3UI = require('openmw.interfaces').H3UI
local panel = H3UI.column {
gap = 8,
H3UI.text 'Settings',
H3UI.toggle {
label = 'Enabled',
value = true,
},
}Parameters
| Field | Type | Description |
|---|---|---|
| array children | openmw.ui.LayoutOrElement[]? | Direct child layouts. |
gap | number? | Fixed vertical spacing inserted between children. |
content | table? | Explicit child content; cannot be combined with array children. |
children | table? | Explicit child layouts; cannot be combined with array children. |
Common layout fields are documented on the UI Components overview. The component always sets props.horizontal = false.