update styledbutton to extend button
This commit is contained in:
parent
160cd3c1d5
commit
c983cf206b
12 changed files with 74 additions and 134 deletions
|
|
@ -7,7 +7,6 @@ import qs.widgets
|
|||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Layouts
|
||||
import Quickshell
|
||||
import Quickshell.Widgets
|
||||
|
||||
StyledPopupWindow {
|
||||
|
|
@ -34,11 +33,8 @@ StyledPopupWindow {
|
|||
StyledButton {
|
||||
id: clearButton
|
||||
Layout.alignment: Qt.AlignRight
|
||||
text: "Clear"
|
||||
onClicked: Notifications.clear()
|
||||
content: StyledText {
|
||||
text: "Clear"
|
||||
color: clearButton.containsMouse ? Theme.palette.base300 : Theme.palette.basecontent
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue