-
Notifications
You must be signed in to change notification settings - Fork 259
RowLayout
Luke Zhao edited this page Aug 16, 2018
·
1 revision
RowLayout aligns items in a single row from left to right no matter how high the collection view is. Similar to FlowLayout, It also support justifyContents
and alignItems
. Please visit FlowLayout’s documentation for details.
In addition to justifyContents
and alignItems
, RowLayout also support expanding some cells to fill the horizontal empty space.
You can provide a list of fillIdentifier
to it. And when there is empty space to fill, those data with identifier within that list will be expanded to fill the empty space. This is usually used in combination with a SimpleViewProvider or a ComposedProvider. Below are two examples demonstrating this feature.