on xenial help sign in
temp
commitf2ac07bf0ad7f56fe5056c2181068fa86af16a32 authorAndrea Cimitan <andrea.cimitan@gmail.com> dateMon 12 May 2014, 15:23 (12 years ago) parent8d8db7d
1 file changed+7
qml/Dash/Card.qml+7
qml/Dash/Card.qml+7
@@ -36,6 +36,12 @@ AbstractButton {
3636 implicitWidth: childrenRect.width
3737 implicitHeight: summary.y + summary.height + (summary.text && backgroundLoader.active ? units.gu(1) : 0)
3838
39+ BorderImage {
40+ source: "graphics/carousel_dropshadow.sci"
41+ anchors.fill: artShape
42+ anchors.margins: -units.gu(1)
43+ }
44+
3945 Loader {
4046 id: backgroundLoader
4147 objectName: "backgroundLoader"
@@ -82,6 +88,7 @@ AbstractButton {
8288 anchors.horizontalCenter: template && template["card-layout"] === "horizontal" ? undefined : parent.horizontalCenter
8389 anchors.left: template && template["card-layout"] === "horizontal" ? parent.left : undefined
8490 visible: cardData && cardData["art"] || false
91+ borderSource: "none"
8592
8693 readonly property real aspect: components !== undefined ? components["art"]["aspect-ratio"] : 1
8794 readonly property bool aspectSmallerThanImageAspect: aspect < image.aspect