If you know the tab name and how you want it to be split, you can programmatically insert a newline to force the label to display in 2 lines.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
<mx:Script> function manage(){ view1.label = "Display" + "\n" + " Content"; } </mx:Script>
<mx:TabNavigator creationComplete="manage();" width="50%" tabHeight="100"> <mx:VBox id="view1"/> </mx:TabNavigator>
</mx:Application>
-----Original Message-----
hai, I have a tab navigator with 4 canvases inside. the label for each canvas is very lenghty and i want it to be displayed in two lines. say the label is "Display Content" ,I want it to be displayed as:
Display Content
How should i be doing this? Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now Yahoo! Groups Links
|