moment/src/qml/Base/HRowLayout.qml

11 lines
196 B
QML
Raw Normal View History

2019-04-22 00:44:04 +10:00
import QtQuick 2.7
import QtQuick.Layouts 1.3
2019-04-22 00:44:04 +10:00
RowLayout {
id: rowLayout
spacing: 0
property int totalSpacing:
spacing * Math.max(0, (rowLayout.visibleChildren.length - 1))
}