diff --git a/applets/kickoff/package/contents/ui/FavoritesView.qml b/applets/kickoff/package/contents/ui/FavoritesView.qml --- a/applets/kickoff/package/contents/ui/FavoritesView.qml +++ b/applets/kickoff/package/contents/ui/FavoritesView.qml @@ -32,6 +32,7 @@ Item { anchors.fill: parent + anchors.topMargin: units.largeSpacing objectName: "FavoritesView" diff --git a/applets/kickoff/package/contents/ui/FullRepresentation.qml b/applets/kickoff/package/contents/ui/FullRepresentation.qml --- a/applets/kickoff/package/contents/ui/FullRepresentation.qml +++ b/applets/kickoff/package/contents/ui/FullRepresentation.qml @@ -116,6 +116,20 @@ id: header } + Rectangle { + id: headerSeparator + + height: Math.floor(units.devicePixelRatio) + color: Qt.tint(PlasmaCore.ColorScope.textColor, Qt.rgba(PlasmaCore.ColorScope.backgroundColor.r, PlasmaCore.ColorScope.backgroundColor.g, PlasmaCore.ColorScope.backgroundColor.b, 0.7)) + + width: root.width + + anchors { + top: header.top + horizontalCenter: header.horizontalCenter + } + } + Item { id: mainArea anchors.topMargin: mainTabGroup.state == "top" ? units.smallSpacing : 0 @@ -213,6 +227,20 @@ bottom: header.top } } + PropertyChanges { + target:tabBarSeparator + width: Math.floor(units.devicePixelRatio) + height: root.height + } + AnchorChanges { + target: tabBarSeparator + anchors { + left: tabBar.right + top: tabBar.top + right: undefined + bottom: tabBar.bottom + } + } }, State { name: "top" @@ -249,6 +277,20 @@ bottom: undefined } } + PropertyChanges { + target:tabBarSeparator + width: root.width + height: Math.floor(units.devicePixelRatio) + } + AnchorChanges { + target: tabBarSeparator + anchors { + left: root.left + top: tabBar.bottom + right: root.right + bottom: undefined + } + } }, State { name: "right" @@ -285,6 +327,20 @@ bottom: header.top } } + PropertyChanges { + target:tabBarSeparator + width: Math.floor(units.devicePixelRatio) + height: root.height + } + AnchorChanges { + target: tabBarSeparator + anchors { + left: undefined + top: tabBar.top + right: tabBar.left + bottom: tabBar.bottom + } + } }, State { name: "bottom" @@ -301,6 +357,14 @@ target: header height: header.implicitHeight } + AnchorChanges { + target: headerSeparator + anchors { + top: undefined + bottom: header.bottom + horizontalCenter: header.horizontalCenter + } + } AnchorChanges { target: mainArea @@ -321,6 +385,20 @@ bottom: root.bottom } } + PropertyChanges { + target:tabBarSeparator + width: root.width + height: Math.floor(units.devicePixelRatio) + } + AnchorChanges { + target: tabBarSeparator + anchors { + left: root.left + top: undefined + right: root.right + bottom: tabBar.top + } + } } ] } // mainTabGroup @@ -396,6 +474,20 @@ } } // tabBar + Rectangle { + id: tabBarSeparator + + width: root.width + height: Math.floor(units.devicePixelRatio) + color: Qt.tint(PlasmaCore.ColorScope.textColor, Qt.rgba(PlasmaCore.ColorScope.backgroundColor.r, PlasmaCore.ColorScope.backgroundColor.g, PlasmaCore.ColorScope.backgroundColor.b, 0.7)) + + anchors { + top: header.top + left: root.left + right: root.right + } + } + MouseArea { anchors.fill: tabBar