mirror of
https://github.com/KDE/latte-dock.git
synced 2024-12-27 15:21:40 +03:00
maximum background width
This commit is contained in:
parent
03eeb6074d
commit
16078ed240
@ -75,8 +75,8 @@ PlasmaComponents.Page {
|
|||||||
|
|
||||||
function updateIconSize() {
|
function updateIconSize() {
|
||||||
if (!pressed) {
|
if (!pressed) {
|
||||||
if (panelSizeSlider.value > value + 4)
|
if (panelSizeSlider.value > value + units.smallSpacing)
|
||||||
panelSizeSlider.value = value + 4
|
panelSizeSlider.value = value + units.smallSpacing
|
||||||
plasmoid.configuration.iconSize = value
|
plasmoid.configuration.iconSize = value
|
||||||
syncGeometry.restart()
|
syncGeometry.restart()
|
||||||
}
|
}
|
||||||
@ -145,8 +145,7 @@ PlasmaComponents.Page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
PlasmaComponents.Label {
|
PlasmaComponents.Label {
|
||||||
text: Number(
|
text: Number((zoomSlider.value * 100) - 100).toFixed(0) + "%"
|
||||||
(zoomSlider.value * 100) - 100).toFixed(0) + "%"
|
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
Layout.minimumWidth: theme.mSize(theme.defaultFont).width * 4
|
Layout.minimumWidth: theme.mSize(theme.defaultFont).width * 4
|
||||||
}
|
}
|
||||||
@ -251,7 +250,7 @@ PlasmaComponents.Page {
|
|||||||
|
|
||||||
value: plasmoid.configuration.panelSize
|
value: plasmoid.configuration.panelSize
|
||||||
minimumValue: 0
|
minimumValue: 0
|
||||||
maximumValue: plasmoid.configuration.iconSize + 4
|
maximumValue: plasmoid.configuration.iconSize + units.smallSpacing
|
||||||
stepSize: 2
|
stepSize: 2
|
||||||
|
|
||||||
function updatePanelSize() {
|
function updatePanelSize() {
|
||||||
|
Loading…
Reference in New Issue
Block a user