diff options
Diffstat (limited to 'src/styles/Base/SliderStyle.qml')
-rw-r--r-- | src/styles/Base/SliderStyle.qml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/styles/Base/SliderStyle.qml b/src/styles/Base/SliderStyle.qml index 0e244b62..7870e2f2 100644 --- a/src/styles/Base/SliderStyle.qml +++ b/src/styles/Base/SliderStyle.qml @@ -78,14 +78,18 @@ import QtQuick.Controls.Private 1.0 } \endqml */ -Style { +PaddedStyle { id: styleitem + /*! \internal */ + property var __syspal: SystemPalette { + colorGroup: control.enabled ? + SystemPalette.Active : SystemPalette.Disabled + } /*! The \l Slider attached to this style. */ readonly property Slider control: __control - /*! The padding around the groove item. */ - property Margins padding: Margins { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } + padding { top: 0 ; left: 0 ; right: 0 ; bottom: 0 } /*! This property holds the item for the slider handle. You can access the slider through the \c control property |