In a previous example, “Changing the label placement on an MX ButtonBar control in Flex (redux)”, we saw how you could set the label/icon placement on an MX ButtonBar control in Flex by extending the MX ButtonBar class and setting the navItemFactory
property in the mx_internal
namespace to a custom class.
The following example shows how you can set the label/icon placement on an MX TabBar control in Flex by extending the MX TabBar class and setting the navItemFactory
property in the mx_internal
namespace to a custom Tab button class.
Continue reading Changing the label placement on an MX TabBar control in Flex