开发者

Flex: Different width for different tabs in tab navigator

开发者 https://www.devze.com 2022-12-20 08:00 出处:网络
Is there some开发者_如何转开发 way to have a tab navigator in flex where each tab width can be controlled explicitly ?

Is there some开发者_如何转开发 way to have a tab navigator in flex where each tab width can be controlled explicitly ?

Thanks in advance.


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

yourTabNavigator.getTabAt(0).width = 200;
0

精彩评论

暂无评论...
验证码 换一张
取 消