View source
class VerticalListFixedRowLayout
package feathers.layout
extends EventDispatcher
implements IScrollLayout
A simple list layout that positions items from top to bottom, in a single column, where every item fills the entire width of the container.
Available since
1.0.0
.Constructor
Variables
requestedRowCount:Null<Float> = 5.0
The number of rows to render, if the height of the container has not
been set explicitly. If null
, shows all rows.
In the following example, the layout's requested row count is set to 2 items:
layout.requestedRowCount = 2.0;
Available since
1.0.0
.rowHeight:Null<Float> = null
The height to set on each item, or null
, if the row height should be
calculated automatically.
In the following example, the layout's row height is set to 20 pixels:
layout.rowHeight = 20.0;
Available since
1.0.0
.