on xenial help sign in
added dropshadow from panel indicators to dash page header extra panel, so there is right shadow when the extra panel is narrow
b4413c6Andrea Cimitan
qml/Dash/PageHeaderExtraPanel.qml+10−11
@@ -43,6 +43,16 @@ Item {
43 dashNavigation.resetNavigation();
43 dashNavigation.resetNavigation();
44 }
44 }
45
45
46+ BorderImage {
47+ anchors {
48+ fill: parent
49+ leftMargin: -units.gu(1)
50+ rightMargin: -units.gu(1)
51+ bottomMargin: -units.gu(1)
52+ }
53+ source: "graphics/rectangular_dropshadow.sci"
54+ }
55+
46 Rectangle {
56 Rectangle {
47 color: "white"
57 color: "white"
48 anchors.fill: parent
58 anchors.fill: parent
@@ -188,15 +198,4 @@ Item {
188 onSingleSelectionFilterSelected: extraPanelOptionSelected()
198 onSingleSelectionFilterSelected: extraPanelOptionSelected()
189 }
199 }
190 }
200 }
191−
192− // This is outside the item
193− Image {
194− anchors {
195− top: parent.bottom
196− left: parent.left
197− right: parent.right
198− }
199− fillMode: Image.Stretch
200− source: "graphics/navigation_shadow.png"
201− }
202}
201}
qml/Dash/graphics/navigation_shadow@18.pngdeleted

Binary file not shown.

qml/Dash/graphics/navigation_shadow_light@18.pngdeleted

Binary file not shown.

qml/Dash/graphics/rectangular_dropshadow@30.pngnew file

Binary file not shown.

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