don't subtract the slider margins twice
This commit is contained in:
parent
d84ab6e387
commit
7f389ef6cc
@ -337,8 +337,6 @@ QRectF QskSliderSkinlet::handleRect(
|
|||||||
QRectF handleRect( 0, 0, handleSize.width(), handleSize.height() );
|
QRectF handleRect( 0, 0, handleSize.width(), handleSize.height() );
|
||||||
handleRect.moveCenter( center );
|
handleRect.moveCenter( center );
|
||||||
|
|
||||||
handleRect = handleRect.marginsRemoved( slider->marginHint( Q::Handle ) );
|
|
||||||
|
|
||||||
return handleRect;
|
return handleRect;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user