aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/gallery/pages/ScrollBarPage.qml')
-rw-r--r--examples/quickcontrols2/gallery/pages/ScrollBarPage.qml40
1 files changed, 0 insertions, 40 deletions
diff --git a/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml b/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml
deleted file mode 100644
index 248e74ca7..000000000
--- a/examples/quickcontrols2/gallery/pages/ScrollBarPage.qml
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (C) 2017 The Qt Company Ltd.
-// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
-
-import QtQuick
-import QtQuick.Controls
-
-Flickable {
- id: flickable
-
- contentHeight: pane.height
-
- Pane {
- id: pane
- width: flickable.width
- height: flickable.height * 1.25
-
- Column {
- id: column
- spacing: 40
- width: parent.width
-
- Label {
- width: parent.width
- wrapMode: Label.Wrap
- horizontalAlignment: Qt.AlignHCenter
- text: "ScrollBar is an interactive bar that can be used to scroll to a specific position. "
- + "A scroll bar can be either vertical or horizontal, and can be attached to any Flickable, "
- + "such as ListView and GridView."
- }
-
- Image {
- rotation: 90
- source: "../images/arrows.png"
- anchors.horizontalCenter: parent.horizontalCenter
- }
- }
- }
-
- ScrollBar.vertical: ScrollBar { }
-}