diff --git a/src/declarativeimports/plasmastyle/SliderStyle.qml b/src/declarativeimports/plasmastyle/SliderStyle.qml index 2b42057b0..58f5067e6 100644 --- a/src/declarativeimports/plasmastyle/SliderStyle.qml +++ b/src/declarativeimports/plasmastyle/SliderStyle.qml @@ -40,12 +40,13 @@ QtQuickControlStyle.SliderStyle { } handle: Item { - width: handle.naturalSize.width - height: handle.naturalSize.height + width: grooveSvg.hasElement("hint-handle-size") ? grooveSvg.elementSize("hint-handle-size").width : handle.width + height: grooveSvg.hasElement("hint-handle-size") ? grooveSvg.elementSize("hint-handle-size").height : handle.height + //keep this opaque to not show half highlight beneath Private.RoundShadow { id: shadow - anchors.fill: parent + anchors.fill: handle imagePath: "widgets/slider" focusElement: "horizontal-slider-focus" hoverElement: "horizontal-slider-hover" @@ -54,7 +55,9 @@ QtQuickControlStyle.SliderStyle { } PlasmaCore.SvgItem { id: handle - anchors.fill: parent + anchors.centerIn: parent + width: naturalSize.width + height: naturalSize.height svg: grooveSvg elementId: "horizontal-slider-handle" } diff --git a/src/desktoptheme/breeze/widgets/slider.svgz b/src/desktoptheme/breeze/widgets/slider.svgz index 6fe892bd1..8660486a3 100644 Binary files a/src/desktoptheme/breeze/widgets/slider.svgz and b/src/desktoptheme/breeze/widgets/slider.svgz differ