RowLayout
Entity → Visual → Quad → Layer → View → LinearLayout → ceramic.RowLayout (Class) → elements.ImRowLayout, elements.LabeledView, elements.TabsLayout
A layout that arranges its children horizontally in a single row.
This class is a LinearLayout
subclass, restricted to its horizontal direction.
RowLayout provides a convenient way to create horizontal layouts without the risk of accidentally changing the direction at runtime. It inherits all the alignment, spacing, and distribution features of LinearLayout.
var row = new RowLayout();
row.itemSpacing = 10;
row.align = CENTER;
row.add(button1);
row.add(button2);
row.add(button3);
See: ColumnLayout For vertical arrangement, LinearLayout For layouts that can change direction
Instance Members
Create a new RowLayout. The direction is automatically set to HORIZONTAL and cannot be changed.
Private Members
Metadata
Name | Parameters |
---|---|
:build |
tracker.macros.EventsMacro.build() |
:autoBuild |
tracker.macros.EventsMacro.build() |
:build |
ceramic.macros.EntityMacro.buildForCompletion() |
:autoBuild |
ceramic.macros.EntityMacro.buildForCompletion() |