summaryrefslogtreecommitdiff
path: root/src/styles/Base/ScrollViewStyle.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/styles/Base/ScrollViewStyle.qml')
-rw-r--r--src/styles/Base/ScrollViewStyle.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/styles/Base/ScrollViewStyle.qml b/src/styles/Base/ScrollViewStyle.qml
index a6f3a39a..8bf5a120 100644
--- a/src/styles/Base/ScrollViewStyle.qml
+++ b/src/styles/Base/ScrollViewStyle.qml
@@ -47,14 +47,19 @@ import QtQuick.Controls.Private 1.0
\since QtQuick.Controls.Styles 1.0
\brief Provides custom styling for ScrollView
*/
-Style {
+PaddedStyle {
id: root
+ /*! \internal */
+ property var __syspal: SystemPalette {
+ colorGroup: control.enabled ?
+ SystemPalette.Active : SystemPalette.Disabled
+ }
/*! The \l ScrollView attached to this style. */
readonly property ScrollView control: __control
/*! This property controls the frame border padding of the scrollView. */
- property Margins padding: Margins {left: 1; top: 1; right: 1; bottom: 1}
+ padding {left: 1; top: 1; right: 1; bottom: 1}
/*! This Component paints the corner area between scroll bars */
property Component corner: Rectangle { color: "#ccc" }