Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions panels/notification/plugin/NotifyAction.qml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@ Control {
signal gotoNextButton() // Signal to Tab to next button (X button or next notify)
signal gotoPrevItem() // Signal to Shift+Tab to previous notify item

property Palette actionBackgroundColor: Palette {
normal {
common: Qt.rgba(0, 0, 0, 0.15)
}
normalDark {
common: Qt.rgba(0, 0, 0, 0.2)
}
}

// Focus the first action button for Tab navigation
// Returns true if an enabled button was found and focused
function focusFirstButton() {
Expand Down Expand Up @@ -186,6 +195,8 @@ Control {
radius: 6
outsideBorderColor: null
insideBorderColor: null
dropShadowColor: null
backgroundColor: root.actionBackgroundColor
anchors.fill: parent
}
Keys.onBacktabPressed: function(event) {
Expand Down Expand Up @@ -262,6 +273,8 @@ Control {
radius: 6
outsideBorderColor: null
insideBorderColor: null
dropShadowColor: null
backgroundColor: root.actionBackgroundColor
anchors.fill: parent
}
}
Expand Down