The possible policies for calculating the size of the tab of a GroupNodeStyle instance.
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.styles.GroupNodeStyleTabSizePolicy
See Also
Constants
The effective tab width depends on GroupNodeStyle properties, the size of the node, and the preferred width of tab or tab background labels.
Remarks
If there is a tab label (i.e a label that uses GroupNodeLabelModel's default parameter), the effective width of the tab will grow to contain the preferred width of the label. The value of tabWidth is treated as minimum width for the tab in this case.
If there is a tab background label (i.e. a label that uses GroupNodeLabelModel's tab background parameter) but no tab label, the effective width of the tab will shrink such that the tab background area is wide enough to contain the preferred width of the label. The value of tabWidth is treated as maximum width for the tab in this case.
See Also
The effective tab size depends on GroupNodeStyle properties and the size of the node.
Static Methods
Converts the argument to GroupNodeStyleTabSizePolicy.
Parameters
A map of options to pass to the method.
- value - GroupNodeStyleTabSizePolicy
- The value to convert to GroupNodeStyleTabSizePolicy.
Returns
- ↪GroupNodeStyleTabSizePolicy
- Either
value
if it is already a GroupNodeStyleTabSizePolicy or an appropriate converted value.