Ashine
Ashine

Reputation: 4737

Flex: Different width for different tabs in tab navigator

Is there some way to have a tab navigator in flex where each tab width can be controlled explicitly ?

Thanks in advance.

Upvotes: 1

Views: 933

Answers (1)

MysticEarth
MysticEarth

Reputation: 2816

Yes that can be done. The following example grabs the tab at index 0:

yourTabNavigator.getTabAt(0).width = 200;

Upvotes: 2

Related Questions