diff --git a/src/declarativeimports/plasmacomponents/qml/TabBar.qml b/src/declarativeimports/plasmacomponents/qml/TabBar.qml --- a/src/declarativeimports/plasmacomponents/qml/TabBar.qml +++ b/src/declarativeimports/plasmacomponents/qml/TabBar.qml @@ -100,6 +100,21 @@ } clip: true + // Subtle line separating the tabbar from its content view + PlasmaCore.SvgItem { + svg: PlasmaCore.Svg { + id: lineSvg; + imagePath: "widgets/line" + } + elementId: layout.isHorizontal ? "horizontal-line" : "vertical-line" + + width: layout.isHorizontal ? buttonCutter.width : 1 + height: layout.isHorizontal ? 1 : buttonCutter.height + + x: tabPosition == Qt.LeftEdge ? buttonCutter.width : -width + y: tabPosition == Qt.TopEdge ? buttonCutter.height : -width + } + PlasmaCore.FrameSvgItem { id: buttonFrame