on xenial help sign in
use a smaller asset for the app's dropshadow Fixes: 1359157

Approved by: PS Jenkins bot, Albert Astals Cid

commitea4ccc3dafabc52485099507af1f300878fc2f3c authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 27 Aug 2014, 15:36 (12 years ago) parent7654bee918e9a4
4 files changed+8−7
qml/Stages/SpreadDelegate.qml+3−7 qml/Stages/graphics/dropshadow.png qml/Stages/graphics/dropshadow2gu@30.png qml/Stages/graphics/dropshadow2gu@30.sci+5
qml/Stages/SpreadDelegate.qml+3−7
@@ -47,14 +47,10 @@ Item {
4747 BorderImage {
4848 anchors {
4949 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)
5451 }
55− source: "graphics/dropshadow.png"
56− border { left: 50; right: 50; top: 50; bottom: 50 }
57− opacity: root.dropShadow ? .4 : 0
52+ source: "graphics/dropshadow2gu.sci"
53+ opacity: root.dropShadow ? .3 : 0
5854 Behavior on opacity { UbuntuNumberAnimation {} }
5955 }
6056
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