In a recent post here, I shared my rants regarding usability of several spark components. Well, its better to act than to complain, so I decided to try and roll my own tab control.

Easy tab navigation

For anyone who used SuperTabBar from flexlib, the functionality is more-or-less the same. However, while the SuperTab is based on mx components, mine is derived from spark TabBar. To make it light and compact, I did not implement dragging of tabs, and focused on easy to use ‘tab close’ functionality.

Features:

  • Adjustable gap through ‘gap’ style
  • Easy access to Tab skin from the TabBar via the ‘tabSkin’ style
  • Global and individual close policy
  • Default skins are supplied, used if no other skin is set

Usage:

	<plus:TabBarPlus id="bar" gap="2" cornerRadius="4" 
			styleName="barStyle"  closePolicy="always"
			dataProvider="{mainStack}"/>

Let me know about any problems or bugs.

  • Share/Bookmark