Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Stretch the document to the full page? 7 years 3 days ago #12247

  • павбог
  • павбог's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
Stretch the document to the full page when you open it.
When I open the document, I want it to stretch the entire width of the screen, as if double-clicking.
How to do it?
Attachments:

Please Log in or Create an account to join the conversation.

Stretch the document to the full page? 7 years 1 day ago #12258

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
The default behavior of the single/dual mode is to fit according to the screen height, so that you do not need to scroll vertically to view the whole page.

To fit the page according to the screen width, you need to comment the following line in PDFLayoutDual.vLayout:
//if( m_scale_min > scale ) m_scale_min = scale;
instead of:
if( m_scale_min > scale ) m_scale_min = scale;

Please Log in or Create an account to join the conversation.

Last edit: by nermeen.
  • Page:
  • 1
Powered by Kunena Forum