Index: sources/gui/qml/components/NotificationBarSmall.qml =================================================================== diff -u -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d -reab35af615619934a2a20b8a27f62d1dcc873af4 --- sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) +++ sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision eab35af615619934a2a20b8a27f62d1dcc873af4) @@ -26,10 +26,13 @@ objectName: "NotificationBar" // SquishQt 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 property int imageTopMargin : 0 + property alias imageVisible : _image.visible property alias text : _text.text property alias textColor : _text.color @@ -56,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 }