less groowe width rather reposition of handle
BUG:332587
This commit is contained in:
parent
144026951e
commit
f3aed6ac4a
@ -180,8 +180,8 @@ Item {
|
||||
value: 0
|
||||
stepSize: 0.0
|
||||
inverted: false
|
||||
positionAtMinimum: -handle.width/2
|
||||
positionAtMaximum: contents.width - handle.width/2
|
||||
positionAtMinimum: 0
|
||||
positionAtMaximum: contents.width - handle.width
|
||||
}
|
||||
|
||||
PlasmaCore.Svg {
|
||||
@ -198,6 +198,8 @@ Item {
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
verticalCenter: parent.verticalCenter
|
||||
leftMargin: handle.width/4
|
||||
rightMargin: handle.width/4
|
||||
}
|
||||
}
|
||||
PlasmaCore.FrameSvgItem {
|
||||
@ -205,8 +207,8 @@ Item {
|
||||
imagePath: "widgets/slider"
|
||||
prefix: "groove-highlight"
|
||||
height: groove.height
|
||||
width: inverted ? groove.width - handle.x : fakeHandle.x + handle.width/2
|
||||
x: inverted ? handle.x : 0
|
||||
width: inverted ? groove.width - handle.x : fakeHandle.x + handle.width/4
|
||||
x: inverted ? handle.x : handle.width/4
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
|
||||
//use the same animation when resizing a slider as moving the slider this keeps it in line when using key shortcuts
|
||||
|
Loading…
Reference in New Issue
Block a user