on xenial help sign in
Move the shadow to the extrapanel
commit82ba9a943989231648aec44382d04bb28d76d9d2 authorAlbert Astals Cid <albert.astals@canonical.com> dateThu 22 Oct 2015, 17:44 (11 years ago) parent683edaf
2 files changed+11−10
qml/Dash/DashNavigation.qml−10 qml/Dash/PageHeaderExtraPanel.qml+11
qml/Dash/DashNavigation.qml−10
@@ -187,16 +187,6 @@ Item {
187187 }
188188 }
189189
190− Image {
191− anchors {
192− top: navigationListView.bottom
193− left: navigationListView.left
194− right: navigationListView.right
195− }
196− fillMode: Image.Stretch
197− source: "graphics/navigation_shadow.png"
198− }
199−
200190 property bool isFirstLoad: false
201191 onScopeChanged: clear();
202192 function clear() {
qml/Dash/PageHeaderExtraPanel.qml+11
@@ -110,4 +110,15 @@ Item {
110110
111111 onLeafClicked: root.dashNavigationLeafClicked();
112112 }
113+
114+ // This is outside the item
115+ Image {
116+ anchors {
117+ top: parent.bottom
118+ left: parent.left
119+ right: parent.right
120+ }
121+ fillMode: Image.Stretch
122+ source: "graphics/navigation_shadow.png"
123+ }
113124}