aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/controls/RangeSlider.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/controls/RangeSlider.qml')
-rw-r--r--src/imports/controls/RangeSlider.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/RangeSlider.qml b/src/imports/controls/RangeSlider.qml
index dc62454d..6de74a9f 100644
--- a/src/imports/controls/RangeSlider.qml
+++ b/src/imports/controls/RangeSlider.qml
@@ -42,10 +42,10 @@ import QtQuick.Templates 2.5 as T
T.RangeSlider {
id: control
- implicitWidth: Math.max(implicitBackgroundWidth,
+ implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
first.implicitHandleWidth + leftPadding + rightPadding,
second.implicitHandleWidth + leftPadding + rightPadding)
- implicitHeight: Math.max(implicitBackgroundHeight,
+ implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
first.implicitHandleHeight + topPadding + bottomPadding,
second.implicitHandleHeight + topPadding + bottomPadding)