1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

spotlight: fix context menu button click widths

This commit is contained in:
bbedward
2025-10-15 18:17:27 -04:00
parent edd54dda84
commit 7f35ba7e21

View File

@@ -78,8 +78,7 @@ Popup {
spacing: 1
Rectangle {
implicitWidth: pinRow.implicitWidth + Theme.spacingS * 2
width: implicitWidth
width: parent.width
height: 32
radius: Theme.cornerRadius
color: pinMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
@@ -158,8 +157,7 @@ Popup {
model: desktopEntry && desktopEntry.actions ? desktopEntry.actions : []
Rectangle {
implicitWidth: actionRow.implicitWidth + Theme.spacingS * 2
width: implicitWidth
width: parent.width
height: 32
radius: Theme.cornerRadius
color: actionMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
@@ -229,8 +227,7 @@ Popup {
}
Rectangle {
implicitWidth: launchRow.implicitWidth + Theme.spacingS * 2
width: implicitWidth
width: parent.width
height: 32
radius: Theme.cornerRadius
color: launchMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
@@ -291,8 +288,7 @@ Popup {
Rectangle {
visible: SessionService.hasPrimeRun
implicitWidth: primeRunRow.implicitWidth + Theme.spacingS * 2
width: implicitWidth
width: parent.width
height: 32
radius: Theme.cornerRadius
color: primeRunMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"