ICEpdf
  1. ICEpdf
  2. PDF-48

Wrap toolbar buttons if the window is shrunk

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1.2, 4.0 - Beta, 4.0
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      -
    • Affects:
      Sample App./Tutorial

      Description

      If the PDF viewer is minimized, the toolbar buttons are no longer accessible. Would be nice to have feature if they could be wrapped.

        Issue Links

          Activity

          Tyler Johnson created issue -
          Hide
          Tyler Johnson added a comment -

          This could be implemented in one of two ways:

          1. When minimized, the toolbar could wrap to a second line
          2. Have a 'more' button which would show a popup of inaccessible items.

          Show
          Tyler Johnson added a comment - This could be implemented in one of two ways: 1. When minimized, the toolbar could wrap to a second line 2. Have a 'more' button which would show a popup of inaccessible items.
          Patrick Corless made changes -
          Field Original Value New Value
          Salesforce Case []
          Fix Version/s 3.2 [ 10212 ]
          Hide
          Patrick Corless added a comment -

          I found a possible solutions at http://www.java-forums.org/awt-swing/11618-how-control-layout-multiple-toolbars.html , haven't had a chance to try it out.

          Show
          Patrick Corless added a comment - I found a possible solutions at http://www.java-forums.org/awt-swing/11618-how-control-layout-multiple-toolbars.html , haven't had a chance to try it out.
          Patrick Corless made changes -
          Assignee Patrick Corless [ patrick.corless ] Ken Fyten [ ken.fyten ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19663 Wed Nov 11 14:19:05 MST 2009 ken.fyten PDF-48 - Improved toolbar wrapping behavior.
          Files Changed
          Commit graph ADD /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java
          Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
          Hide
          Ken Fyten added a comment -

          This is fixed via adding a new "ToolbarLayout" layout manager class which is a customized version of the standard Java FlowLayout.

          Added: /icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java
          Modified: /icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
          Committed revision 19663.

          Show
          Ken Fyten added a comment - This is fixed via adding a new "ToolbarLayout" layout manager class which is a customized version of the standard Java FlowLayout. Added: /icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java Modified: /icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java Committed revision 19663.
          Ken Fyten made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Affects [Sample App./Tutorial]
          Resolution Fixed [ 1 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19693 Mon Nov 16 05:52:18 MST 2009 patrick.corless PDF-48 addition of toolbar wrapping layout for RI toolbar.
          Files Changed
          Commit graph ADD /icepdf/branches/icepdf-3.1.0/icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java
          Commit graph MODIFY /icepdf/branches/icepdf-3.1.0/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
          Hide
          Patrick Corless added a comment -

          Added changes to 3.1.0 branch for 3.1.2 release.

          Show
          Patrick Corless added a comment - Added changes to 3.1.0 branch for 3.1.2 release.
          Patrick Corless made changes -
          Salesforce Case []
          Fix Version/s 3.1.2 [ 10219 ]
          Tyler Johnson made changes -
          Salesforce Case [5007000000A6lcU]
          Hide
          Ken Fyten added a comment -

          Looks like the toolbar still doesn't wrap immediately if you slowly shorten only the horizontal axis.

          Show
          Ken Fyten added a comment - Looks like the toolbar still doesn't wrap immediately if you slowly shorten only the horizontal axis.
          Ken Fyten made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #19765 Mon Nov 23 16:56:26 MST 2009 ken.fyten PDF-48 - Fixed a bug in the algorithm used to determine when a new line should be created.
          Files Changed
          Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java
          Hide
          Ken Fyten added a comment -

          Fixed a bug in the calculation of widths that determined when a new row should be added to the layout.

          Modified: icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java
          Committed revision 19765.

          Show
          Ken Fyten added a comment - Fixed a bug in the calculation of widths that determined when a new row should be added to the layout. Modified: icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java Committed revision 19765.
          Ken Fyten made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Ken Fyten made changes -
          Link This issue is duplicated by PDF-57 [ PDF-57 ]
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #20017 Fri Dec 18 09:46:03 MST 2009 ken.fyten PDF-48 - Made the bottom view toolbar buttons wrap is needed also.
          Files Changed
          Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/ToolbarLayout.java
          Commit graph MODIFY /icepdf/trunk/icepdf/viewer/src/org/icepdf/ri/common/SwingViewBuilder.java
          Hide
          Ken Fyten added a comment -

          Added wrapping support for the bottom view selection toolbar as well.

          Show
          Ken Fyten added a comment - Added wrapping support for the bottom view selection toolbar as well.
          Ken Fyten made changes -
          Fix Version/s 4.0 [ 10222 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Ken Fyten
              Reporter:
              Tyler Johnson
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: