getContentSize ();
The getContentSize method returns size of the panel content.
To execute the example, create the NavigationBar component named NB (see Example of Creating the NavigationBar Component). Use the getContentSize method to learn the size of top panel's contents:
alert (NB.getItem(1).getContentSize());
After executing the example information on the size of upper panel's contents is displayed to the screen.
See also: