@@ -17,7 +17,6 @@
1717 */
1818
1919import QtQuick 2.4
20−import QtGraphicalEffects 1.0
2120import Ubuntu.Components 1.2
2221import Unity.Application 0.1
2322
@@ -31,6 +30,7 @@ FocusScope {
3130
3231 property bool decorationShown: true
3332 property bool highlightShown: false
33+ property real shadowOpacity: 1
3434
3535 signal close()
3636 signal maximize()
@@ -52,10 +52,13 @@ FocusScope {
5252 visible: highlightShown
5353 }
5454
55− RectangularGlow { // drop shadow around the window
56− anchors.fill: parent
57− color: "#333333"
58− glowRadius: active ? units.dp(6) : units.dp(4)
55+ BorderImage {
56+ anchors {
57+ fill: root
58+ margins: active ? -units.gu(2) : -units.gu(1.5)
59+ }
60+ source: "graphics/dropshadow2gu.sci"
61+ opacity: root.shadowOpacity * .3
5962 }
6063
6164 WindowDecoration {