update styledbutton to extend button

This commit is contained in:
Benjamin Palko 2025-08-29 17:22:04 -04:00
parent 160cd3c1d5
commit c983cf206b
12 changed files with 74 additions and 134 deletions

View file

@ -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
}
}
}