From c6b5b14910876fa506f03509e3932104223c170e Mon Sep 17 00:00:00 2001 From: Richard Moe Gustavsen Date: Wed, 30 Sep 2020 11:54:40 +0200 Subject: Native style: don't use transient scrollbars MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don't want to hide the scrollbars on desktop when it's not moving. Change-Id: I6ce555b06a598560a7253e2b8e6db71405b9322b Reviewed-by: Jan Arve Sæther --- tests/manual/nativestyle/TextAreas.qml | 2 -- tests/manual/nativestyle/main.qml | 2 -- 2 files changed, 4 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3