Try this: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:TabNavigator horizontalCenter="0" verticalCenter="0" resizeToContent="true"> <mx:Canvas label="Tab 1" width="300" height="300"/> <mx:Canvas label="Tab 2" width="300" height="200"/> <mx:Canvas label="Tab 3" width="300" height="100"/> <mx:Canvas label="Tab 4" width="300" height="50"/> </mx:TabNavigator> </mx:Application>
You can add some can add some Resize effects in there to make it look really smooth. Juan scalenine.com --- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 4/22/07, munene_uk <[EMAIL PROTECTED]> wrote: > > > thanks for the reply but for some reason it doesn't seem to work can > > you maybe exaplin to me in a bit more detail how this should be > > implemented? > > You're looking for a way to automatically resize a TabNavigator to the > size of its currently selected child, right? Are you sure > resizeToContent="true" doesn't work? That's exactly what the property > is supposed to do. >