Index: sources/gui/qml/components/NotificationBarSmall.qml =================================================================== diff -u -rdff9d50ebfa80ec99313586e1d48662b72940d24 -r23f8a6036e22f80c3c5fd2834a2980bb62d2a34d --- sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision dff9d50ebfa80ec99313586e1d48662b72940d24) +++ sources/gui/qml/components/NotificationBarSmall.qml (.../NotificationBarSmall.qml) (revision 23f8a6036e22f80c3c5fd2834a2980bb62d2a34d) @@ -25,10 +25,11 @@ Rectangle { id: _root objectName: "NotificationBar" // SquishQt - property alias image : _image property alias imageSource : _image.source property bool imageAutoSize : false property bool imageAnimated : false + property int imageDiameter : Variables.notificationIconDiameter + property int imageTopMargin : 0 property alias text : _text.text property alias textColor : _text.color @@ -53,11 +54,11 @@ anchors.centerIn: parent spacing: 10 Image { id: _image - width : source == "" ? 0 : imageAutoSize ? Math.min(_root.height, _root.width) : Variables.notificationIconDiameter - height: source == "" ? 0 : imageAutoSize ? Math.min(_root.height, _root.width) : Variables.notificationIconDiameter + 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.top : imageAutoSize ? undefined : parent.top - anchors.topMargin : height > _root.height ? -((height - _root.height) / 2) : 0 + anchors.topMargin : height > _root.height ? -((height - _root.height) / 2) : imageTopMargin } Text { id: _text color : Colors.textNotificationNoneFg