From 2299f908089f9afbae2455902c631b013af08b53 Mon Sep 17 00:00:00 2001 From: Konstantinos Karmas Date: Mon, 16 Aug 2021 16:57:57 +0200 Subject: [PATCH] Add shadow behind the what's new pages As discussed during the eCCB. --- resources/qml/WelcomePages/WhatsNewContent.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml index 65989ee536..f5ce72997f 100644 --- a/resources/qml/WelcomePages/WhatsNewContent.qml +++ b/resources/qml/WelcomePages/WhatsNewContent.qml @@ -4,6 +4,7 @@ import QtQuick 2.10 import QtQuick.Controls 2.3 import QtQuick.Layouts 1.3 +import QtGraphicalEffects 1.12 // For the DropShadow import UM 1.3 as UM import Cura 1.1 as Cura @@ -91,6 +92,13 @@ Item source: manager.getSubpageImageSource(index) } + DropShadow { + anchors.fill: subpageImage + radius: UM.Theme.getSize("monitor_shadow_radius").width + color: UM.Theme.getColor("first_run_shadow") + source: subpageImage + } + Cura.ScrollableTextArea { id: subpageText