Index: sources/gui/qml/components/HeaderBarPopup.qml =================================================================== diff -u -rb147501e55e730aaa2c999e0d20f7363ab3ba6ba -r17a71bb26f714be5f8eaa3346313a5796cbc3b3a --- sources/gui/qml/components/HeaderBarPopup.qml (.../HeaderBarPopup.qml) (revision b147501e55e730aaa2c999e0d20f7363ab3ba6ba) +++ sources/gui/qml/components/HeaderBarPopup.qml (.../HeaderBarPopup.qml) (revision 17a71bb26f714be5f8eaa3346313a5796cbc3b3a) @@ -11,4 +11,5 @@ closePolicy : Dialog.CloseOnPressOutside y : Variables.headerHeight + 5 backgroundColor : "#D2D6DB" + showDropShadow : true } Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -r3bee9f20350882eca47f3d18b0accf5bec3933d4 -r17a71bb26f714be5f8eaa3346313a5796cbc3b3a --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 3bee9f20350882eca47f3d18b0accf5bec3933d4) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision 17a71bb26f714be5f8eaa3346313a5796cbc3b3a) @@ -16,6 +16,7 @@ // Qt import QtQuick 2.12 import QtQuick.Controls 2.12 // Dialog +import QtGraphicalEffects 1.12 // Project // Qml imports @@ -35,6 +36,7 @@ property alias radius : _backgroundRect.radius property alias notificationText : _notification.text property alias notification : _notification + property bool showDropShadow : false width : Variables.dialogWidth height : Variables.dialogHeight @@ -60,6 +62,18 @@ background: Rectangle { id: _backgroundRect color : Colors.backgroundDialog radius: Variables.dialogRadius + + layer.enabled: showDropShadow + layer.effect: DropShadow { + id: _dropShadow + horizontalOffset: 3 + verticalOffset: 3 + radius: 3.0 + samples: 7 + color: "#50000000" + source: _backgroundRect + anchors.fill: _backgroundRect + } } onVisibleChanged: {