diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-04-20 09:02:50 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2022-04-22 07:57:53 +0200 |
commit | 350f2f5d488af018c7c1c6d97fc8ba5b40125e8f (patch) | |
tree | de0cf117c0cef2d1a8e4cee1e883416cf1019ef7 /tests/auto | |
parent | dc0eff5dcda8bf110031eb67e04daab110cdaea0 (diff) |
PdfMultiPageView: fix PdfNavigationStack.onJumped horizontal scrolling
xOffsetLimit should not be divided by 2: it's meant to be the farthest
that we can scroll to the right without going beyond the page edge.
Since we still have the tableView.rebuild() workaround function, remove
some calls to forceLayout() that seem not to help with anything, but
just caused a warning:
Cannot do an immediate re-layout during an ongoing layout!
Pick-to: 6.3
Fixes: QTBUG-102742
Change-Id: I57f419467e01fc92c12e5d74262d8fa878ce1c79
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions