import QtQuick import Weave.Templates as T import Weave.Controls T.Divider { id: root implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset, implicitContentWidth + leftPadding + rightPadding) implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset, implicitContentHeight + topPadding + bottomPadding) hoverEnabled: root.enabled orientation: Qt.Horizontal style: Divider.Light _styleColor: style === Divider.Light ? Theme.component.divider.light.borderColor : Theme.component.divider.strong.borderColor contentItem: Rectangle { implicitWidth: Theme.component.divider.borderWidth implicitHeight: Theme.component.divider.borderWidth color: root.color } }