quickshell: wrap tray context menu in shared Card segment
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
700d3f7de1
commit
6846f38b9a
1 changed files with 3 additions and 2 deletions
|
|
@ -1637,17 +1637,18 @@ in
|
|||
id: menuOpener
|
||||
}
|
||||
|
||||
Column {
|
||||
Card {
|
||||
id: menuItems
|
||||
anchors.centerIn: parent
|
||||
width: 200
|
||||
cardSpacing: 0
|
||||
|
||||
Repeater {
|
||||
model: menuOpener.children
|
||||
|
||||
Rectangle {
|
||||
required property var modelData
|
||||
width: 200
|
||||
width: parent.width
|
||||
height: modelData.isSeparator ? 9 : 28
|
||||
color: !modelData.isSeparator && itemMouse.containsMouse && modelData.enabled
|
||||
? Theme.base02 : Theme.base02t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue