aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/nativestyle/controls/DefaultScrollBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/nativestyle/controls/DefaultScrollBar.qml')
-rw-r--r--src/imports/nativestyle/controls/DefaultScrollBar.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/nativestyle/controls/DefaultScrollBar.qml b/src/imports/nativestyle/controls/DefaultScrollBar.qml
index 0f42bc80..0e1b74dd 100644
--- a/src/imports/nativestyle/controls/DefaultScrollBar.qml
+++ b/src/imports/nativestyle/controls/DefaultScrollBar.qml
@@ -42,14 +42,14 @@ import QtQuick.NativeStyle as NativeStyle
T.ScrollBar {
id: control
- readonly property bool nativeBackground: background instanceof NativeStyle.StyleItem
+ readonly property bool __nativeBackground: background instanceof NativeStyle.StyleItem
implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
implicitContentWidth + leftPadding + rightPadding)
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
implicitContentHeight + topPadding + bottomPadding)
- font.pixelSize: nativeBackground ? background.styleFont(control).pixelSize : undefined
+ font.pixelSize: __nativeBackground ? background.styleFont(control).pixelSize : undefined
visible: policy === T.ScrollBar.AlwaysOn || (active && size < 1.0)