diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-09-30 11:54:40 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2020-09-30 12:25:43 +0200 |
commit | c6b5b14910876fa506f03509e3932104223c170e (patch) | |
tree | b575a522e1a45098ab9deefe4cd67aa1a2c5e4cb /src/imports/nativestyle/controls/DefaultScrollBar.qml | |
parent | fbc629892461662a20e12c38f182fddb1fcc3a81 (diff) |
Native style: don't use transient scrollbars
We don't want to hide the scrollbars on desktop when it's
not moving.
Change-Id: I6ce555b06a598560a7253e2b8e6db71405b9322b
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'src/imports/nativestyle/controls/DefaultScrollBar.qml')
-rw-r--r-- | src/imports/nativestyle/controls/DefaultScrollBar.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/nativestyle/controls/DefaultScrollBar.qml b/src/imports/nativestyle/controls/DefaultScrollBar.qml index 0e1b74dd..9965b8cb 100644 --- a/src/imports/nativestyle/controls/DefaultScrollBar.qml +++ b/src/imports/nativestyle/controls/DefaultScrollBar.qml @@ -51,7 +51,7 @@ T.ScrollBar { font.pixelSize: __nativeBackground ? background.styleFont(control).pixelSize : undefined - visible: policy === T.ScrollBar.AlwaysOn || (active && size < 1.0) + visible: policy === T.ScrollBar.AlwaysOn || size < 1.0 background: NativeStyle.ScrollBar { control: control |