[Plasma Components 3 Slider] Fix implicit size of handle
Fixes implicit size of the slider to include the handle
This commit is contained in:
parent
3d078c01ee
commit
a3e96eb17a
@ -46,8 +46,9 @@ T.Slider {
|
||||
x: control.leftPadding + (horizontal ? control.visualPosition * (control.availableWidth - width) : (control.availableWidth - width) / 2)
|
||||
y: control.topPadding + (horizontal ? (control.availableHeight - height) / 2 : control.visualPosition * (control.availableHeight - height))
|
||||
|
||||
width: firstHandle.naturalSize.width
|
||||
height: firstHandle.naturalSize.height
|
||||
implicitWidth: firstHandle.naturalSize.width
|
||||
implicitHeight: firstHandle.naturalSize.height
|
||||
|
||||
Private.RoundShadow {
|
||||
anchors.fill: parent
|
||||
imagePath: "widgets/slider"
|
||||
|
Loading…
Reference in New Issue
Block a user