summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-02-05 13:05:16 +0100
committerShawn Rutledge <shawn.rutledge@qt.io>2020-02-11 08:29:39 +0100
commit92cd38cd4a24e344492c2dd8a7a63e9dacf10553 (patch)
treee301e883609a2815fb288b78ad1e53861e0efe49
parent09a6eac4a63b32548ecc1ff5b16a5d8fc3ba1c04 (diff)
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>
-rw-r--r--src/pdf/quick/qml/PdfMultiPageView.qml1
1 files changed, 1 insertions, 0 deletions
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