CardsListView QML Type
Import Statement: | import org.kde.kirigami |
Since: | 2.4 |
Inherits: |
Detailed Description
CardsListView is a ListView which can have AbstractCard as its delegate: it will automatically assign the proper spacings and margins around the cards adhering to the design guidelines.
CardsListView should be used only with cards which can look good at any horizontal size, so it is recommended to directly use AbstractCard with an appropriate layout inside, because they are stretching for the whole list width.
Therefore, it is discouraged to use it with the Card type.
The choice between using this view with AbstractCard or a normal ListView is purely a choice based on aesthetics alone.
It is recommended to use default values.