on xenial help sign in
use a smaller asset for the app's dropshadoe
commit183f4eefe486021f7b88da2945c2168b26488710 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 21 Aug 2014, 15:18 (12 years ago) parente168fb1
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