swingx
  1. swingx
  2. SWINGX-1505

RFE: WrapLayout (FlowLayout with correct reporting of preferredSize

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.5
    • Component/s: Util
    • Labels:
      None

      Description

      Originally reported here:

      http://www.java.net/forum/topic/javadesktop/java-desktop-technologies/swinglabs/wraplayout

      Please add the following (or similar functionality) to SwingX

      http://tips4java.wordpress.com/2008/11/06/wrap-layout/

      It would be even better if the LayoutManager respected the maximumWidth value - both FlowLayout and this implementation ignore it. (Although the WrapLayout will not extend the width beyond the original value).

        Activity

        Hide
        kleopatra added a comment -

        +1 for adding as is (to a release > 1.6.4). While there are many powerful LayoutManagers out in the wild, wrapping is not really supported by any.

        adding max respect is not in the scope of a simple LayoutManager as, would require extension to LayoutManager2 which most probably will require extended work - which I would leave to external contributions, hint hint

        Cheers
        Jeanette

        Show
        kleopatra added a comment - +1 for adding as is (to a release > 1.6.4). While there are many powerful LayoutManagers out in the wild, wrapping is not really supported by any. adding max respect is not in the scope of a simple LayoutManager as, would require extension to LayoutManager2 which most probably will require extended work - which I would leave to external contributions, hint hint Cheers Jeanette
        Hide
        Karl Schaefer added a comment -

        I have contact Rob about it and we shall see what he says.

        Show
        Karl Schaefer added a comment - I have contact Rob about it and we shall see what he says.
        Hide
        Karl Schaefer added a comment -

        SWINGX-1505: Add WrapLayout (a fixed FlowLayout) layout manager to SwingX.

        swingx-core/src/main/java/org/jdesktop/swingx/WrapLayout.java

        Committed revision 4258.

        Show
        Karl Schaefer added a comment - SWINGX-1505 : Add WrapLayout (a fixed FlowLayout) layout manager to SwingX. swingx-core/src/main/java/org/jdesktop/swingx/WrapLayout.java Committed revision 4258.
        Hide
        ivse added a comment -

        Can you add @JavaBean info to this class, for gui builders?

        Show
        ivse added a comment - Can you add @JavaBean info to this class, for gui builders?

          People

          • Assignee:
            Karl Schaefer
            Reporter:
            fommil
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: