mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
notifications: add group expand tip tooltip
This commit is contained in:
parent
53b6f5d8e8
commit
e0cf3d0962
2 changed files with 7 additions and 2 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
import qs.modules.common
|
import qs
|
||||||
import qs.services
|
import qs.services
|
||||||
|
import qs.modules.common
|
||||||
import qs.modules.common.functions
|
import qs.modules.common.functions
|
||||||
import "./notification_utils.js" as NotificationUtils
|
import "./notification_utils.js" as NotificationUtils
|
||||||
import QtQuick
|
import QtQuick
|
||||||
|
|
@ -211,6 +212,11 @@ MouseArea { // Notification group area
|
||||||
expanded: root.expanded
|
expanded: root.expanded
|
||||||
fontSize: topRow.fontSize
|
fontSize: topRow.fontSize
|
||||||
onClicked: { root.toggleExpanded() }
|
onClicked: { root.toggleExpanded() }
|
||||||
|
altAction: () => { root.toggleExpanded() }
|
||||||
|
|
||||||
|
StyledToolTip {
|
||||||
|
content: Translation.tr("Tip: right-clicking a group\nalso expands it")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -44,5 +44,4 @@ RippleButton { // Expand button
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue