[SWINGX-1505] RFE: WrapLayout (FlowLayout with correct reporting of preferredSize Created: 14/Jul/12  Updated: 06/Nov/13  Resolved: 14/Nov/12

Status: Resolved
Project: swingx
Component/s: Util
Affects Version/s: None
Fix Version/s: 1.6.5

Type: New Feature Priority: Minor
Reporter: fommil Assignee: Karl Schaefer
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Originally reported here:


Please add the following (or similar functionality) to SwingX


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

Comment by kleopatra [ 16/Jul/12 ]

+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


Comment by Karl Schaefer [ 25/Jul/12 ]

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

Comment by Karl Schaefer [ 14/Nov/12 ]

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


Committed revision 4258.

Comment by ivse [ 06/Nov/13 ]

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

Generated at Sun Aug 30 10:35:32 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.