-
Notifications
You must be signed in to change notification settings - Fork 75
change relayout for horizontal scroll #109
base: master
Are you sure you want to change the base?
Conversation
I could not get your point. Could you please explain your problem? |
Vertical, there are no problems. But if we change the scrollDirection to horizontal, the behavior of the controller is strange. goToPage jumps to the next trimmed page or x-pages backward/forward or nothing happens. Also goToPage to last page jumps to some point in the document instead of the last page. It seems like the page width is wrong and thus the wrong page is being called. My change fixed this problem for our application. Or is there a special configuration required for the horizontal ScrollDirection? |
screen_pdf.mov |
mobile.mov |
OK, I understand your problem. But, it's not so easy to change the current behavior without checking your code anyway. |
Sorry, you can remove this '+10'. I just forgot about it, that was just a test. Again, If you think horizontal is working correct in standard version, then just show me how to configure. I couldn't configure it right, so I debug the code and made this change |
changed _relayoutDefault to fix horizontal scrolling