moment/harmonyqml/components/Base/HRowLayout.qml

11 lines
196 B
QML
Raw Normal View History

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