本文介绍了软硬度:如何添加标签关闭按钮的TabNavigator组件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我想有,有一些选项卡的关闭按钮一的TabNavigator组件。我怎么做?看来,与TabNavigator组件不允许(或我找不到)这种形式的可扩展性。帮帮我。谢谢

I'd like to have a TabNavigator component that has a close button for some of the tabs. How do I do that?It seems that the TabNavigator component does not allow (or I could not find) extensibility of this form.Help. Thanks

推荐答案

您应该看一看从的项目:

You should take a look at the SuperTabNavigator component from the FlexLib project:

  • SuperTabNavigator example
  • SuperTabNavigator documentation
  • FlexLib Component list

如果你不希望所有选项卡有关闭按钮(我从你不要的问题理解),它看起来像您可以使用<一个href="http://flexlib.google$c$c.com/svn/trunk/docs/flexlib/containers/SuperTabNavigator.html#setClosePolicyForTab%28%29"相对=nofollow> setClosePolicyForTab()方法来指定哪些项你想要拥有它们。

If you don't want all of the tabs to have close buttons (I understand from the question that you don't) it looks like you could use the setClosePolicyForTab() method for specifying which tabs you want to have them.

这篇关于软硬度:如何添加标签关闭按钮的TabNavigator组件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 19:28