aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicknativestyle/controls/DefaultScrollBar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'src/quicknativestyle/controls/DefaultScrollBar.qml')
-rw-r--r--src/quicknativestyle/controls/DefaultScrollBar.qml2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/quicknativestyle/controls/DefaultScrollBar.qml b/src/quicknativestyle/controls/DefaultScrollBar.qml
index b7b7873225..ef20f7016c 100644
--- a/src/quicknativestyle/controls/DefaultScrollBar.qml
+++ b/src/quicknativestyle/controls/DefaultScrollBar.qml
@@ -49,8 +49,6 @@ T.ScrollBar {
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
implicitContentHeight + topPadding + bottomPadding)
- font.pixelSize: __nativeContentItem ? contentItem.styleFont(control).pixelSize : undefined
-
visible: policy === T.ScrollBar.AlwaysOn || (policy === T.ScrollBar.AsNeeded && size < 1.0)
minimumSize: !__nativeContentItem ? 10 : orientation === Qt.Vertical ?
contentItem.minimumSize.height / height : contentItem.minimumSize.width / width