getCaptionsWidth();
The getCaptionsWidth method returns total width of all titles not including margins.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Get tree titles caps = Tree.getCaptions(); // Get title width caps.getCaptionsWidth();
After executing the example total title width if obtained.
See also: