1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

dankbar: fix app icon scaling fixes #568

This commit is contained in:
bbedward
2025-10-27 14:35:35 -04:00
parent 48a7d24c11
commit 24b046e9d7
2 changed files with 16 additions and 14 deletions

View File

@@ -117,8 +117,8 @@ Item {
IconImage {
anchors.centerIn: parent
width: 16
height: 16
width: Theme.barIconSize(root.barThickness)
height: Theme.barIconSize(root.barThickness)
source: delegateRoot.iconSource
asynchronous: true
smooth: true
@@ -130,6 +130,7 @@ Item {
id: trayItemArea
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
cursorShape: Qt.PointingHandCursor
onClicked: (mouse) => {
@@ -203,8 +204,8 @@ Item {
IconImage {
anchors.centerIn: parent
width: 16
height: 16
width: Theme.barIconSize(root.barThickness)
height: Theme.barIconSize(root.barThickness)
source: delegateRoot.iconSource
asynchronous: true
smooth: true
@@ -216,6 +217,7 @@ Item {
id: trayItemArea
anchors.fill: parent
hoverEnabled: true
acceptedButtons: Qt.LeftButton | Qt.RightButton
cursorShape: Qt.PointingHandCursor
onClicked: (mouse) => {