fixed me being stupid
This commit is contained in:
@@ -103,7 +103,7 @@ Scope {
|
|||||||
Layout.alignment: Qt.AlignVCenter
|
Layout.alignment: Qt.AlignVCenter
|
||||||
text: HasNotifications.hasNotifications ? "\uf4fe" : "\ue7f4"
|
text: HasNotifications.hasNotifications ? "\uf4fe" : "\ue7f4"
|
||||||
font.family: "Material Symbols Rounded"
|
font.family: "Material Symbols Rounded"
|
||||||
font.pixelSize: 22
|
font.pixelSize: 20
|
||||||
color: "white"
|
color: "white"
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ MouseArea {
|
|||||||
property point globalPos
|
property point globalPos
|
||||||
|
|
||||||
implicitWidth: 22
|
implicitWidth: 22
|
||||||
implicitHeight: parent.height
|
|
||||||
|
|
||||||
hoverEnabled: true
|
hoverEnabled: true
|
||||||
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
acceptedButtons: Qt.LeftButton | Qt.RightButton
|
||||||
@@ -38,11 +37,10 @@ MouseArea {
|
|||||||
height: batteryHDPI ? 26 : ( nmHDPI ? 25 : 22 )
|
height: batteryHDPI ? 26 : ( nmHDPI ? 25 : 22 )
|
||||||
source: root.item.icon
|
source: root.item.icon
|
||||||
mipmap: true
|
mipmap: true
|
||||||
smooth: batteryHDPI ? false : ( nmHDPI ? false : true )
|
smooth: ( batteryHDPI || nmHDPI ) ? false : true
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
sourceSize.width: batteryHDPI ? 16 : ( nmHDPI ? 16 : 22 )
|
sourceSize.width: ( batteryHDPI || nmHDPI ) ? 16 : 22
|
||||||
sourceSize.height: batteryHDPI ? 16 : ( nmHDPI ? 16 : 22 )
|
sourceSize.height: ( batteryHDPI || nmHDPI ) ? 16 : 22
|
||||||
autoTransform: true
|
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
|
|
||||||
TrayMenu {
|
TrayMenu {
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ Rectangle {
|
|||||||
TrayItem {
|
TrayItem {
|
||||||
id: trayItem
|
id: trayItem
|
||||||
required property SystemTrayItem modelData
|
required property SystemTrayItem modelData
|
||||||
|
implicitHeight: root.implicitHeight
|
||||||
item: modelData
|
item: modelData
|
||||||
bar: root.bar
|
bar: root.bar
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user