Vertical ButtonBar buttons width

Posted by user294702 on Stack Overflow See other posts from Stack Overflow or by user294702
Published on 2010-04-15T21:18:29Z Indexed on 2010/04/15 21:23 UTC
Read the original article Hit count: 306

Filed under:
|
|

I am creating a vertical button bar with 3 buttons. How to I force the same width for all three buttons so it doesn't look like crap?

<s:ButtonBar x="10" y="10" dataProvider="{viewstack1}" >
    <s:layout>
        <s:VerticalLayout gap="-1"/>
    </s:layout>
</s:ButtonBar>
<mx:ViewStack id="viewstack1" left="115" paddingRight="0" right="0" bottom="0" top="0">
    <s:NavigatorContent label="ABC Products" width="100%" height="100%"><custom:Banner  width="100%" height="100%"/></s:NavigatorContent>
    <s:NavigatorContent label="Btn Player" width="100%" height="100%"><custom:Player /></s:NavigatorContent>
    <s:NavigatorContent label="Btn Cleaner" width="100%" height="100%"><custom:Cleaner width="100%"/></s:NavigatorContent>
</mx:ViewStack>

© Stack Overflow or respective owner

Related posts about flex4

Related posts about flex