on xenial help sign in
Make the remaining UbuntuShape flat

Approved by: Albert Astals Cid, Unity8 CI Bot

commita339ad5d3b6546a5bdb75953c837aa2c3d1acb5e authorAndrea Cimitan <andrea.cimitan@gmail.com> dateTue 29 Nov 2016, 09:36 (10 years ago) parent05722627aa2622
2 files changed+3
qml/Components/LazyImage.qml+2 qml/Dash/ScopesListCategoryItem.qml+1
qml/Components/LazyImage.qml+2
@@ -57,6 +57,7 @@ Item {
5757 active: useUbuntuShape
5858 visible: opacity != 0
5959 sourceComponent: UbuntuShape {
60+ aspect: UbuntuShape.Flat
6061 backgroundColor: "#22FFFFFF"
6162 }
6263
@@ -92,6 +93,7 @@ Item {
9293 visible: opacity != 0
9394 sourceComponent: UbuntuShapeOverlay {
9495 property bool pressed: false
96+ aspect: UbuntuShape.Flat
9597 overlayColor: Qt.rgba(0, 0, 0, pressed ? 0.1 : 0)
9698 overlayRect: Qt.rect(0.0, 0.0, 1.0, 1.0)
9799 }
qml/Dash/ScopesListCategoryItem.qml+1
@@ -49,6 +49,7 @@ AbstractButton {
4949 width: units.gu(5)
5050 height: units.gu(5)
5151 visible: !hideChildren
52+ aspect: UbuntuShape.Flat
5253 sourceFillMode: UbuntuShape.PreserveAspectCrop
5354 source: Image {
5455 id: shapeImage