# Yahoo Astra TabBar width problem

**URL:** https://forum.kirupa.com/t/yahoo-astra-tabbar-width-problem/295873
**Category:** flash
**Created:** [September 6, 2009, 12:11pm UTC](https://forum.kirupa.com/t/yahoo-astra-tabbar-width-problem/295873 "2009-09-06T12:11:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![shebimangalath](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@shebimangalath](https://forum.kirupa.com/u/shebimangalath)
#### Post date: [September 6, 2009, 12:11pm UTC](https://forum.kirupa.com/t/yahoo-astra-tabbar-width-problem/295873/1 "2009-09-06T12:11:47Z")

</div>

Hi,

How to find the exact width of **Yahoo Astra TabBar** Component  
The output is always 150

Here is my Example:

```auto
import fl.data.DataProvider;
import com.yahoo.astra.fl.controls.TabBar;

var tabData:Array = ["Tab0", "Tab1", "Tab2" , "Tab3"];

var tabBar:TabBar = new TabBar();
tabBar.move(10, 10);
tabBar.dataProvider = new DataProvider( tabData );
tabBar.selectedIndex = 0;
this.addChild( tabBar );

trace("width: "+ tabBar.width);

```

Thanks for your help…
