mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-23 13:33:50 +03:00
support iconSizes above 128px.
the user can set such sizes through the layout file
This commit is contained in:
parent
2f107ad4c7
commit
bb5a4e4d52
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user