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 c096608e..86711958 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(background ? background.implicitWidth : 0,
+ implicitWidth: Math.max(implicitBackgroundWidth,
Math.max(first.handle ? first.handle.implicitWidth : 0,
second.handle ? second.handle.implicitWidth : 0) + leftPadding + rightPadding)
- implicitHeight: Math.max(background ? background.implicitHeight : 0,
+ implicitHeight: Math.max(implicitBackgroundHeight,
Math.max(first.handle ? first.handle.implicitHeight : 0,
second.handle ? second.handle.implicitHeight : 0) + topPadding + bottomPadding)