diff --git a/Bar.qml b/Bar.qml index fcc756a..5e8d588 100644 --- a/Bar.qml +++ b/Bar.qml @@ -103,7 +103,7 @@ Scope { Layout.alignment: Qt.AlignVCenter text: HasNotifications.hasNotifications ? "\uf4fe" : "\ue7f4" font.family: "Material Symbols Rounded" - font.pixelSize: 22 + font.pixelSize: 20 color: "white" MouseArea { anchors.fill: parent diff --git a/Modules/TrayItem.qml b/Modules/TrayItem.qml index f7965b0..01287db 100644 --- a/Modules/TrayItem.qml +++ b/Modules/TrayItem.qml @@ -14,7 +14,6 @@ MouseArea { property point globalPos implicitWidth: 22 - implicitHeight: parent.height hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton @@ -38,11 +37,10 @@ MouseArea { height: batteryHDPI ? 26 : ( nmHDPI ? 25 : 22 ) source: root.item.icon mipmap: true - smooth: batteryHDPI ? false : ( nmHDPI ? false : true ) + smooth: ( batteryHDPI || nmHDPI ) ? false : true asynchronous: true - sourceSize.width: batteryHDPI ? 16 : ( nmHDPI ? 16 : 22 ) - sourceSize.height: batteryHDPI ? 16 : ( nmHDPI ? 16 : 22 ) - autoTransform: true + sourceSize.width: ( batteryHDPI || nmHDPI ) ? 16 : 22 + sourceSize.height: ( batteryHDPI || nmHDPI ) ? 16 : 22 fillMode: Image.PreserveAspectFit TrayMenu { diff --git a/Modules/TrayWidget.qml b/Modules/TrayWidget.qml index 7a69af7..c014ab5 100644 --- a/Modules/TrayWidget.qml +++ b/Modules/TrayWidget.qml @@ -22,6 +22,7 @@ Rectangle { TrayItem { id: trayItem required property SystemTrayItem modelData + implicitHeight: root.implicitHeight item: modelData bar: root.bar }