Class MultiLineFlowLayout

java.lang.Object
java.awt.FlowLayout
org.openstreetmap.josm.gui.util.MultiLineFlowLayout
All Implemented Interfaces:
LayoutManager, Serializable

public class MultiLineFlowLayout extends FlowLayout
This is an extension of the flow layout that prefers wrapping the text instead of increasing the component width when there is not enough space.

This allows for a better preferred size computation. It should be used in all places where a flow layout fills the full width of the parent container.

This does not support baseline alignment.

Since:
10622
See Also: