From 1415c07d4bf1f129652c779f9417ab1f1b1e53da Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 25 Mar 2014 15:30:00 +0100 Subject: [PATCH] the bounds of the slider are centered on the handle BUG:332587 --- src/declarativeimports/plasmacomponents/qml/Slider.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/declarativeimports/plasmacomponents/qml/Slider.qml b/src/declarativeimports/plasmacomponents/qml/Slider.qml index 68b9ad4ec..7e84c0028 100644 --- a/src/declarativeimports/plasmacomponents/qml/Slider.qml +++ b/src/declarativeimports/plasmacomponents/qml/Slider.qml @@ -180,8 +180,8 @@ Item { value: 0 stepSize: 0.0 inverted: false - positionAtMinimum: 0 - positionAtMaximum: contents.width - handle.width + positionAtMinimum: -handle.width/2 + positionAtMaximum: contents.width - handle.width/2 } PlasmaCore.Svg {