A GridLayout optimized for showing one or two columns of cards, depending on the available space.
It Should be used when the cards are not instantiated by a model or by a model which has always very few items (In the case of a big model CardsListView or CardsGridview should be used instead). They are presented as a grid of two columns which will remain centered if the application is really wide, or become a single column if there is not enough space for two columns, such as a mobile phone screen. A CardsLayout should always be contained within a ColumnLayout. GridLayout
maximumColumnWidth: int The maximum width the columns may have.
the cards will never get wider than this size, when the GridLayout is wider than maximumColumnWidth, it will switch from one to two columns. If the default needs to be overridden for some reason, it is advised to express this unit as a multiple of Kirigami.Units.gridUnit
The documentation for this class was generated from the following file: