Dynamic tab width in a Flex 4 TabBar component with skin
        Posted  
        
            by JoriDor
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by JoriDor
        
        
        
        Published on 2010-06-17T09:15:01Z
        Indexed on 
            2010/06/17
            13:43 UTC
        
        
        Read the original article
        Hit count: 644
        
Hi,
I have a Flex 4 TabBar component with a custom skin. In this skin, the item renderer is defined with an ButtonBarButton with a custom skin. All the tabs in the itemrenderer have now the same width.
The client however wants me to make the tabs width dynamically, so a smaller tab for a smaller label, a bigger one for a long label. Does anybody know how to adjust the width of Tab (ButtonBarButton)?
Thanks a million!
© Stack Overflow or respective owner