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

          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.
          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.
          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.
          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.
          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.
          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.
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: