Makes the container node caption big enough to display its text without clipping.
Namespace: MindFusion.Diagramming
Package: ContainerNode.js
JavaScript Copy Code |
---|
function resizeToFitText (fit, [fixPosition, [foldBtnWidth]]) |
One of the FitSize enumeration values.
Fix the position of the container to the original location. The default is false.
The width of the folder button, if it's not provided, the value from FoldIconSize is used.
Type: Boolean
true if the caption is resized successfully; otherwise, false.