moment/harmonyqml/components/Base/HColumnLayout.qml

12 lines
233 B
QML
Raw Normal View History

import QtQuick 2.7
import QtQuick.Controls 2.2
2019-04-29 05:36:43 +10:00
import QtQuick.Layouts 1.0
ColumnLayout {
id: columnLayout
spacing: 0
property int totalSpacing:
spacing * Math.max(0, (columnLayout.visibleChildren.length - 1))
}