⌂
›
Reference
›
Column
Column
A vertical layout control for stacking children.
Example
column(
spacing: 12,
children: [
text(value: "Title", style: { size: 24 }),
text(value: "Subtitle"),
text_field(label: "Name")
]
)
Common properties
childrenspacingexpandhorizontal_alignmentscroll
Usage
page.add(
column(
spacing: 10,
children: [
text(value: "Profile"),
text_field(label: "Display name")
]
)
)
Notes
childrenshould be an array of controlscolumnis one of the most common layout primitives in Ruflet apps