quicksettings: Use standard corner radius

This commit is contained in:
Devin Lin 2024-07-15 18:45:33 -04:00
parent 0a09d935ac
commit 7f011e92ed
2 changed files with 24 additions and 24 deletions

View file

@ -33,14 +33,14 @@ QuickSettingsDelegate {
anchors.right: parent.right
height: parent.height
radius: Kirigami.Units.smallSpacing
radius: Kirigami.Units.cornerRadius
color: Qt.rgba(0, 0, 0, 0.075)
}
// background color
Rectangle {
anchors.fill: parent
radius: Kirigami.Units.smallSpacing
radius: Kirigami.Units.cornerRadius
border.width: 1
border.color: root.enabled ? root.enabledButtonBorderColor : root.disabledButtonBorderColor
color: {

View file

@ -32,14 +32,14 @@ QuickSettingsDelegate {
anchors.right: parent.right
height: parent.height
radius: Kirigami.Units.smallSpacing
radius: Kirigami.Units.cornerRadius
color: Qt.rgba(0, 0, 0, 0.075)
}
// background
Rectangle {
anchors.fill: parent
radius: Kirigami.Units.smallSpacing
radius: Kirigami.Units.cornerRadius
border.color: root.enabled ? root.enabledButtonBorderColor : root.disabledButtonBorderColor
color: {
if (root.enabled) {