diff options
Diffstat (limited to 'qml/LaunchScreen.qml')
-rw-r--r-- | qml/LaunchScreen.qml | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/qml/LaunchScreen.qml b/qml/LaunchScreen.qml index a83d524..7d369b7 100644 --- a/qml/LaunchScreen.qml +++ b/qml/LaunchScreen.qml @@ -27,7 +27,7 @@ ** ****************************************************************************/ import QtQuick 2.0 -import QtQuick.Controls 2.1 +import QtQuick.Controls 2.3 Item { id: gridroot @@ -51,24 +51,10 @@ Item { width: grid.cellWidth onClicked: root.launchApplication(sLocation, sMainFile, sName, sDescription) } - ScrollBar.vertical: ScrollBar { - parent: gridroot - anchors.top: grid.top - anchors.bottom: grid.bottom - anchors.right: parent.right - anchors.rightMargin: viewSettings.pageMargin * 0.25 - anchors.topMargin: viewSettings.pageMargin * 0.5 - width: viewSettings.pageMargin * 0.5 - size: 0.3 - position: 0.2 - active: true - orientation: Qt.Vertical + } - contentItem: Rectangle { - implicitWidth: viewSettings.pageMargin * 0.25 - implicitHeight: root.height * 0.1 - color: viewSettings.scrollBarColor - } - } + FlickSlider { + flickItem: grid + anchors.right: parent.right } } |