This option is only effective for FlowX layout type. If set to a value greater than 0, a new row will only be started when the number of items in each row reaches the specified value.
This option is only effective for FlowX layout type. If set to a value greater than 0, a new row will only be started when the number of items in each row reaches the specified value.
If set to true, when an item is not visible (visible=false), it will not reserve space for it during layout, meaning the layout will ignore this item; if unchecked, it will reserve space for this item, resulting in a blank placeholder.
If set to true, when an item is not visible (visible=false), it will not reserve space for it during layout, meaning the layout will ignore this item; if unchecked, it will reserve space for this item, resulting in a blank placeholder.
The minimum size for child nodes. When automatically adjusting the size of child nodes based on layout parameters, it will not be smaller than this value. For example, if set to 30 and a node requires a width of 10 during layout, the final width of the node will be set to 30.
The minimum size for child nodes. When automatically adjusting the size of child nodes based on layout parameters, it will not be smaller than this value. For example, if set to 30 and a node requires a width of 10 during layout, the final width of the node will be set to 30.
Set the padding for the four directions inside the container. The four elements are in the order of [UP, RIGHT, DOWN, LEFT].
set padding(value): void
参数
value: number[]
返回 void
Zh
设定容器内部四个方向的留空。四个元素依次为[上,右,下,左]。
En
Set the padding for the four directions inside the container. The four elements are in the order of [UP, RIGHT, DOWN, LEFT].
pageMode
get pageMode(): boolean
返回 boolean
En
Page mode.
Zh
分页模式。
set pageMode(value): void
参数
value: boolean
返回 void
En
Page mode.
Zh
分页模式。
rowGap
get rowGap(): number
返回 number
En
The gap between rows.
Zh
行间距。
set rowGap(value): void
参数
value: number
返回 void
En
The gap between rows.
Zh
行间距。
rows
get rows(): number
返回 number
En
This option is only effective for FlowY layout type. If set to a value greater than 0, a new column will only be started when the number of items in each column reaches the specified value.
This option is only effective for FlowY layout type. If set to a value greater than 0, a new column will only be started when the number of items in each column reaches the specified value.
En
The alignment of the layout.
Zh
布局的对齐方式。