From e1f90dbfc69bcd6234d694176b9abea8d169ed6d Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Mon, 3 Feb 2020 19:12:32 +0100 Subject: [PATCH] square and smaller icons --- .../panel/package/contents/ui/quicksettings/Delegate.qml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/containments/panel/package/contents/ui/quicksettings/Delegate.qml b/containments/panel/package/contents/ui/quicksettings/Delegate.qml index 95569014..1c034bb2 100644 --- a/containments/panel/package/contents/ui/quicksettings/Delegate.qml +++ b/containments/panel/package/contents/ui/quicksettings/Delegate.qml @@ -28,10 +28,11 @@ ColumnLayout { spacing: units.smallSpacing Rectangle { - Layout.preferredWidth: units.iconSizes.large + units.smallSpacing * 6 + Layout.preferredWidth: units.iconSizes.large + units.smallSpacing * 2 Layout.minimumHeight: width Layout.alignment: Qt.AlignHCenter - radius: width + radius: units.smallSpacing + border.color: Qt.rgba(PlasmaCore.ColorScope.textColor.r, PlasmaCore.ColorScope.textColor.g, PlasmaCore.ColorScope.textColor.b, 0.2) color: toggled ? Qt.rgba(PlasmaCore.ColorScope.highlightColor.r, PlasmaCore.ColorScope.highlightColor.g, PlasmaCore.ColorScope.highlightColor.b, iconMouseArea.pressed ? 0.5 : 0.3) : Qt.rgba(PlasmaCore.ColorScope.textColor.r, PlasmaCore.ColorScope.textColor.g, PlasmaCore.ColorScope.textColor.b, iconMouseArea.pressed ? 0.5 : 0.1) @@ -40,7 +41,7 @@ ColumnLayout { colorGroup: PlasmaCore.ColorScope.colorGroup anchors { fill: parent - margins: units.smallSpacing * 3 + margins: units.smallSpacing * 2 } source: model.icon MouseArea {