From e44917c404a850aa625c1c4ed7d740f8a618cb71 Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Thu, 25 May 2017 16:03:05 +0300 Subject: [PATCH] internal separator look identical to applet separa --- plasmoid/package/contents/ui/task/TaskDelegate.qml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/plasmoid/package/contents/ui/task/TaskDelegate.qml b/plasmoid/package/contents/ui/task/TaskDelegate.qml index c86f7ffc9..0d2002e40 100644 --- a/plasmoid/package/contents/ui/task/TaskDelegate.qml +++ b/plasmoid/package/contents/ui/task/TaskDelegate.qml @@ -221,7 +221,7 @@ MouseArea{ anchors.top: root.position === PlasmaCore.Types.TopPositioned ? parent.top : undefined; anchors.bottom: root.position === PlasmaCore.Types.BottomPositioned ? parent.bottom : undefined; - opacity: 0.5 + opacity: separatorShadow.active ? 0 : 0.5 visible: mainItemContainer.isSeparator width: root.vertical ? root.iconSize : (root.dragSource) ? 5+root.iconMargin: 1 @@ -237,8 +237,10 @@ MouseArea{ anchors.top: root.position === PlasmaCore.Types.TopPositioned ? parent.top : undefined; anchors.bottom: root.position === PlasmaCore.Types.BottomPositioned ? parent.bottom : undefined; - width: root.vertical ? root.iconSize - 8 : 1 - height: !root.vertical ? root.iconSize - 8 : 1 + radius: 2 + + width: root.vertical ? root.iconSize - 8 : 2 + height: !root.vertical ? root.iconSize - 8 : 2 color: theme.textColor } }