ICEpdf
  1. ICEpdf
  2. PDF-702

Fit width in viewer RI shows horizontal scroll bar

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.4
    • Fix Version/s: 5.0.5
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      Viewer RI
    • Salesforce Case Reference:

      Description

      Open a document in single page view with the utility pane hidden and move from "fit in window" to "fit width" and the horizontal scroll bar will be shown.

      Interestingly moving from "actual size" to "fit width" works fine with now scroll bar.

        Activity

        Patrick Corless created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case Reference 5007000000Y3rT7AAJ
        Hide
        Patrick Corless added a comment -

        Updated the DocumentViewControllerImpl.setFitMode() method to take into consideration that the vertical scroll bar may not be present when calculating the page fit width.

        Show
        Patrick Corless added a comment - Updated the DocumentViewControllerImpl.setFitMode() method to take into consideration that the vertical scroll bar may not be present when calculating the page fit width.
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Patrick Corless added a comment -

        Fix was added to trunk and 5.0.1 branch.

        Show
        Patrick Corless added a comment - Fix was added to trunk and 5.0.1 branch.
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39837 Wed Jan 29 13:23:59 MST 2014 patrick.corless PDF-702 addition of scroll bar compensation when calculating page width.
        Files Changed
        Commit graph MODIFY /icepdf/branches/icepdf-5.0.1/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #39838 Wed Jan 29 13:24:09 MST 2014 patrick.corless PDF-702 addition of scroll bar compensation when calculating page width.
        Files Changed
        Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/views/DocumentViewControllerImpl.java
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: