From 04ed33d516af4a8792499a304a0adc8fa4818c3f Mon Sep 17 00:00:00 2001 From: kelteseth Date: Mon, 10 Apr 2017 12:16:59 +0200 Subject: [PATCH] Fix Sidebar shadow --- qml/Components/Sidebar.qml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qml/Components/Sidebar.qml b/qml/Components/Sidebar.qml index 1340b162..e4e1faf2 100644 --- a/qml/Components/Sidebar.qml +++ b/qml/Components/Sidebar.qml @@ -102,8 +102,10 @@ Item { } } - Rectangle { + Item { id: shadow + width:5 + anchors { top: parent.top right: sidebarBackground.left @@ -114,7 +116,7 @@ Item { LinearGradient { anchors.fill: parent start: Qt.point(0, 0) - end: Qt.point(0, 5) + end: Qt.point(5, 0) gradient: Gradient { GradientStop { position: 0.0