Search code examples
flashapache-flexflex4flex-spark

TileLayout in ButtonBar skin


In my ButtonBar skin I use TileLayout:

<s:DataGroup id="dataGroup" width="100%" height="100%"> <s:layout> <s:TileLayout /> </s:layout> </s:DataGroup>

But this layout set max width to all ButtonBarButtons. But I dont want same width, I want behavior as in HorizontalLayout. How to solve this problem?


Solution

  • Maybe this FlowLayout or this layout can solve your problem?