layout.columns

A component for placing content in columns.

Use it to customize the display of content: set the column width and adjust the vertical alignment of content.

Component properties

NameTypeDescription
type*"layout.columns"

Set component type

fullHeightboolean

Switches the component to column mode at full height and with individual scrolling. Otherwise, the height is determined by the height of the column that is filled in the most.

items*array

Columns to divide the interface into.

items[]view

Column content.

minWidthnumber

The minimum width of the component; if it is narrower, columns are output sequentially, one by one.

ratioarray

An array of values that specify the relative width of columns. For example, if you have 3 columns, the value divides the space into 4 parts and the column in the middle is twice as large as the other columns.

If the number of columns exceeds the number of values in the ratio property, the values are repeated. For example, if you have 4 columns and the ratio is set to , the result is the same as for .

If the number of columns is less than the number of values in the ratio property, extra values are simply ignored.

ratio[]number

Relative column width.

validationcondition

Validation based on condition.

verticalAlignstring

Vertical alignment of column content:

  • top — Aligned to the top of a column.
  • middle — Aligned to the middle of the column that is filled in the most.
  • bottom — Aligned to the bottom of a column.