From 785bd65c74bac54d970fcc036f456dc8c293c094 Mon Sep 17 00:00:00 2001 From: Angela Mazzurco Date: Thu, 3 Aug 2017 18:20:14 +0200 Subject: [PATCH] Add shadow to the toolbar --- retroshare-qml-app/src/main-app.qml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/retroshare-qml-app/src/main-app.qml b/retroshare-qml-app/src/main-app.qml index f8b7eed0c..d55de4502 100644 --- a/retroshare-qml-app/src/main-app.qml +++ b/retroshare-qml-app/src/main-app.qml @@ -18,6 +18,7 @@ import QtQuick 2.1 import QtQuick.Controls 2.0 +import QtGraphicalEffects 1.0 import org.retroshare.qml_components.LibresapiLocalClient 1.0 import "URI.js" as UriJs import "." //Needed for TokensManager and ClipboardWrapper singleton @@ -221,10 +222,23 @@ ApplicationWindow } + DropShadow + { + anchors.fill: toolBar + horizontalOffset: 0 + verticalOffset: 1 + radius: 12 + samples: 25 + color: "#80000000" + source: toolBar + } + StackView { id: stackView anchors.fill: parent + anchors.top: toolBar.bottom + anchors.topMargin: 5 focus: true onCurrentItemChanged: {