diff options
Diffstat (limited to 'src/imports/controls/imagine')
-rw-r--r-- | src/imports/controls/imagine/Slider.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/imagine/Slider.qml b/src/imports/controls/imagine/Slider.qml index 3c2710c7..ff560d00 100644 --- a/src/imports/controls/imagine/Slider.qml +++ b/src/imports/controls/imagine/Slider.qml @@ -43,9 +43,9 @@ T.Slider { id: control implicitWidth: Math.max(implicitBackgroundWidth, - (handle ? handle.implicitWidth : 0) + leftPadding + rightPadding) + implicitHandleWidth + leftPadding + rightPadding) implicitHeight: Math.max(implicitBackgroundHeight, - (handle ? handle.implicitHeight : 0) + topPadding + bottomPadding) + implicitHandleHeight + topPadding + bottomPadding) topPadding: background ? background.topPadding : 0 leftPadding: background ? background.leftPadding : 0 |