Search
ContainerNode.resizeToFitChildren Method
See Also
 

Resizes the container making it big enough to contain its child nodes.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void resizeToFitChildren (
    boolean allowShrink,
    Dimension2D margins
)

 Parameters

allowShrink

true to allow reducing container's size, or false otherwise.

margins

A Dimension2D specifying size of margin space left around container's child items.

 See Also