mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
quicksettings: Use standard corner radius
This commit is contained in:
parent
0a09d935ac
commit
7f011e92ed
2 changed files with 24 additions and 24 deletions
|
|
@ -33,14 +33,14 @@ QuickSettingsDelegate {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
|
||||||
radius: Kirigami.Units.smallSpacing
|
radius: Kirigami.Units.cornerRadius
|
||||||
color: Qt.rgba(0, 0, 0, 0.075)
|
color: Qt.rgba(0, 0, 0, 0.075)
|
||||||
}
|
}
|
||||||
|
|
||||||
// background color
|
// background color
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
radius: Kirigami.Units.smallSpacing
|
radius: Kirigami.Units.cornerRadius
|
||||||
border.width: 1
|
border.width: 1
|
||||||
border.color: root.enabled ? root.enabledButtonBorderColor : root.disabledButtonBorderColor
|
border.color: root.enabled ? root.enabledButtonBorderColor : root.disabledButtonBorderColor
|
||||||
color: {
|
color: {
|
||||||
|
|
|
||||||
|
|
@ -32,14 +32,14 @@ QuickSettingsDelegate {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: parent.height
|
height: parent.height
|
||||||
|
|
||||||
radius: Kirigami.Units.smallSpacing
|
radius: Kirigami.Units.cornerRadius
|
||||||
color: Qt.rgba(0, 0, 0, 0.075)
|
color: Qt.rgba(0, 0, 0, 0.075)
|
||||||
}
|
}
|
||||||
|
|
||||||
// background
|
// background
|
||||||
Rectangle {
|
Rectangle {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
radius: Kirigami.Units.smallSpacing
|
radius: Kirigami.Units.cornerRadius
|
||||||
border.color: root.enabled ? root.enabledButtonBorderColor : root.disabledButtonBorderColor
|
border.color: root.enabled ? root.enabledButtonBorderColor : root.disabledButtonBorderColor
|
||||||
color: {
|
color: {
|
||||||
if (root.enabled) {
|
if (root.enabled) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue