ColumnFlow QML Type
Automatically position children in columns. More...
Import Statement: | import Fluid.Layouts 1.1 |
Properties
- columnWidth : int
- columns : int
- contentHeight : int
- delegate : Component
- model : any
- repeaterCompleted : bool
Methods
- void reEvalColumns()
- void updateWidths()
Detailed Description
import QtQuick 2.10 import Fluid.Layouts 1.0 as FluidLayouts Item { width: 600 height: 600 FluidLayouts.ColumnFlow { anchors.fill: parent columns: 5 model: 20 delegate: Rectangle { id: item height: 100.0 * Math.random() color: Qt.rgba(Math.random(), Math.random(), Math.random(), Math.random()) Text { text: index } } } }
Property Documentation
The delegate provides a template defining each item istantiated by the column flow.
See also Repeater::delegate.
The model providing data to the column flow.
This property can be set to any of the supported data models.
See also Repeater::model.