on xenial help sign in
use a smaller asset for the app's dropshadow Fixes: 1359157
ea4ccc3Michael Zanetti
qml/Stages/SpreadDelegate.qml+3−7
@@ -47,14 +47,10 @@ Item {
47 BorderImage {
47 BorderImage {
48 anchors {
48 anchors {
49 fill: appWindow
49 fill: appWindow
50− leftMargin: -units.gu(2)
51− rightMargin: -units.gu(2)
52− bottomMargin: -units.gu(2)
53− topMargin: -units.gu(2)
50+ margins: -units.gu(2)
54 }
51 }
55− source: "graphics/dropshadow.png"
52+ source: "graphics/dropshadow2gu.sci"
56− border { left: 50; right: 50; top: 50; bottom: 50 }
57− opacity: root.dropShadow ? .4 : 0
53+ opacity: root.dropShadow ? .3 : 0
58 Behavior on opacity { UbuntuNumberAnimation {} }
54 Behavior on opacity { UbuntuNumberAnimation {} }
59 }
55 }
60
56
qml/Stages/graphics/dropshadow.pngdeleted

Binary file not shown.

qml/Stages/graphics/dropshadow2gu@30.pngnew file

Binary file not shown.

qml/Stages/graphics/dropshadow2gu@30.scinew file+5
@@ -0,0 +1,5 @@
1+border.left: 60
2+border.top: 60
3+border.bottom: 60
4+border.right: 60
5+source: dropshadow2gu@30.png