From bb5a4e4d521c064ce2b603272e0b11d0d1ed931a Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Mon, 2 Apr 2018 10:29:03 +0300 Subject: [PATCH] support iconSizes above 128px. the user can set such sizes through the layout file --- shell/package/contents/configuration/AppearanceConfig.qml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell/package/contents/configuration/AppearanceConfig.qml b/shell/package/contents/configuration/AppearanceConfig.qml index 5621774b5..5fc4d6a4b 100644 --- a/shell/package/contents/configuration/AppearanceConfig.qml +++ b/shell/package/contents/configuration/AppearanceConfig.qml @@ -161,7 +161,6 @@ PlasmaComponents.Page { Layout.fillWidth: true value: plasmoid.configuration.iconSize minimumValue: 16 - maximumValue: 128 stepSize: (!plasmoid.configuration.autoDecreaseIconSize && (plasmoid.configuration.advanced || (plasmoid.configuration.iconSize % 8 !== 0))) || dialog.dockIsPanel ? 1 : 8 @@ -179,6 +178,12 @@ PlasmaComponents.Page { Component.onCompleted: { valueChanged.connect(updateIconSize); + + if (plasmoid.configuration.iconSize>128) { + maximumValue = plasmoid.configuration.iconSize + 32 + } else { + maximumValue = 128 + } } Component.onDestruction: {