diff options
-rw-r--r-- | src/imports/nativestyle/controls/DefaultScrollBar.qml | 2 | ||||
-rw-r--r-- | tests/manual/nativestyle/TextAreas.qml | 2 | ||||
-rw-r--r-- | tests/manual/nativestyle/main.qml | 2 |
3 files changed, 1 insertions, 5 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 diff --git a/tests/manual/nativestyle/TextAreas.qml b/tests/manual/nativestyle/TextAreas.qml index 0e1573b0..f411c3bd 100644 --- a/tests/manual/nativestyle/TextAreas.qml +++ b/tests/manual/nativestyle/TextAreas.qml @@ -67,7 +67,6 @@ ControlContainer { id: scrollView width: 200 height: defaultTextArea.height - ScrollBar.vertical.policy: ScrollBar.AlwaysOn TextArea { text: "Inside ScrollView - Lorem ipsum dolor sit amet, consectetur adipiscing elit, " @@ -104,7 +103,6 @@ ControlContainer { ScrollView { id: scrollView2 anchors.fill: parent - ScrollBar.vertical.policy: ScrollBar.AlwaysOn TextArea { id: area2 diff --git a/tests/manual/nativestyle/main.qml b/tests/manual/nativestyle/main.qml index f0575820..ef7c89a2 100644 --- a/tests/manual/nativestyle/main.qml +++ b/tests/manual/nativestyle/main.qml @@ -72,7 +72,6 @@ ApplicationWindow { ScrollView { contentWidth: width clip: true - ScrollBar.vertical.policy: ScrollBar.AlwaysOn Column { anchors.left: parent.left @@ -99,7 +98,6 @@ ApplicationWindow { ScrollView { contentWidth: width clip: true - ScrollBar.vertical.policy: ScrollBar.AlwaysOn Column { anchors.left: parent.left |