mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-30 00:12:50 -05:00
spotlight: fix context menu button click widths
This commit is contained in:
@@ -78,8 +78,7 @@ Popup {
|
|||||||
spacing: 1
|
spacing: 1
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
implicitWidth: pinRow.implicitWidth + Theme.spacingS * 2
|
width: parent.width
|
||||||
width: implicitWidth
|
|
||||||
height: 32
|
height: 32
|
||||||
radius: Theme.cornerRadius
|
radius: Theme.cornerRadius
|
||||||
color: pinMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
|
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 : []
|
model: desktopEntry && desktopEntry.actions ? desktopEntry.actions : []
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
implicitWidth: actionRow.implicitWidth + Theme.spacingS * 2
|
width: parent.width
|
||||||
width: implicitWidth
|
|
||||||
height: 32
|
height: 32
|
||||||
radius: Theme.cornerRadius
|
radius: Theme.cornerRadius
|
||||||
color: actionMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
|
color: actionMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
|
||||||
@@ -229,8 +227,7 @@ Popup {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
implicitWidth: launchRow.implicitWidth + Theme.spacingS * 2
|
width: parent.width
|
||||||
width: implicitWidth
|
|
||||||
height: 32
|
height: 32
|
||||||
radius: Theme.cornerRadius
|
radius: Theme.cornerRadius
|
||||||
color: launchMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
|
color: launchMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
|
||||||
@@ -291,8 +288,7 @@ Popup {
|
|||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
visible: SessionService.hasPrimeRun
|
visible: SessionService.hasPrimeRun
|
||||||
implicitWidth: primeRunRow.implicitWidth + Theme.spacingS * 2
|
width: parent.width
|
||||||
width: implicitWidth
|
|
||||||
height: 32
|
height: 32
|
||||||
radius: Theme.cornerRadius
|
radius: Theme.cornerRadius
|
||||||
color: primeRunMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
|
color: primeRunMouseArea.containsMouse ? Qt.rgba(Theme.primary.r, Theme.primary.g, Theme.primary.b, 0.12) : "transparent"
|
||||||
|
|||||||
Reference in New Issue
Block a user