From 92cd38cd4a24e344492c2dd8a7a63e9dacf10553 Mon Sep 17 00:00:00 2001 From: Shawn Rutledge <shawn.rutledge@qt.io> Date: Wed, 5 Feb 2020 13:05:16 +0100 Subject: [PATCH] PDF multipage view: add vertical scrollbar So far it does not update the spinbox with the current page to which the user has scrolled, because ListView.currentIndex doesn't change. Change-Id: I5dfa644401f77628c71ad1db7d64c5f0ac1e0c65 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> --- src/pdf/quick/qml/PdfMultiPageView.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pdf/quick/qml/PdfMultiPageView.qml b/src/pdf/quick/qml/PdfMultiPageView.qml index be41153b6..095081c5d 100644 --- a/src/pdf/quick/qml/PdfMultiPageView.qml +++ b/src/pdf/quick/qml/PdfMultiPageView.qml @@ -241,6 +241,7 @@ Item { } } } + ScrollBar.vertical: ScrollBar { } } PdfNavigationStack { id: navigationStack -- GitLab