Index: sources/gui/qml/components/NotificationBarSmall.qml =================================================================== diff -u -r7208690c23bf7a801437b86902f2e04d173d659f -r6084f7bd48dc98616b4a5e0d076c2d03330001db --- sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision 7208690c23bf7a801437b86902f2e04d173d659f) +++ sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision 6084f7bd48dc98616b4a5e0d076c2d03330001db) @@ -25,8 +25,9 @@ Rectangle { id: _root objectName: "NotificationBar" // SquishQt - property alias image : _image property alias imageSource : _image.source + property alias imageFillMode : _image.fillMode + property bool imageVerticalCenter: false property bool imageAutoSize : false property bool imageAnimated : false property int imageDiameter : Variables.notificationIconDiameter @@ -58,7 +59,7 @@ Image { id: _image width : source == "" ? 0 : imageAutoSize ? Math.min(_root.height, _root.width) : _root.imageDiameter height: source == "" ? 0 : imageAutoSize ? Math.min(_root.height, _root.width) : _root.imageDiameter - anchors.verticalCenter : imageAutoSize ? parent.verticalCenter : undefined + anchors.verticalCenter : imageAutoSize || imageVerticalCenter ? parent.verticalCenter : undefined anchors.top : imageAutoSize ? undefined : parent.top anchors.topMargin : height > _root.height ? -((height - _root.height) / 2) : imageTopMargin }