Makes the container node caption big enough to display its text without clipping.
Namespace: MindFusion.Diagramming
File: ContainerNode.js
JavaScript Copy Code |
---|
function resizeToFitText (fit, [fixPosition, [foldBtnWidth]]) |
FitSize. A member of the FitSize enumeration.
Boolean. Fix the position of the container to the original location. The default is false.
Number. The width of the folder button, if it's not provided, the value from foldIconSize is used.
Boolean. true if the caption is resized successfully, or false otherwise.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |