Commit 82674435 authored by Shawn Rutledge's avatar Shawn Rutledge
Browse files

PDF single-page example: shift content right as the search drawer opens

This was done in 0b6a4d94

 for the
multipage example.

Change-Id: Ia5b51b9239521ab4d65e41aaebe52d178e75932d
Reviewed-by: default avatarShawn Rutledge <shawn.rutledge@qt.io>
Showing with 1 addition and 0 deletions
......@@ -206,6 +206,7 @@ ApplicationWindow {
PdfScrollablePageView {
id: view
anchors.fill: parent
anchors.leftMargin: searchDrawer.position * searchDrawer.width
document: PdfDocument {
id: document
source: Qt.resolvedUrl(root.source)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment