Space between two Links in LinkBar
I have an idea's please suggest which is possible and th开发者_运维知识库e technical difficulties. For three Links i thought to put LinkBar and for the left hand side i thought two apply two LinkButton .Below the links I will place a canvas in that I will add viewstack for the LinkBar and VBox for the LinkButton when it is clicked.
Regards
ZuluThe trick is to put the LinkBars in a container with absolute positioning and set the left and right properties of the LinkBars to "0" like so:
<s:Group width="500">
<mx:LinkBar left="0">
<mx:dataProvider>
<fx:String>Link 1</fx:String>
<fx:String>Link 2</fx:String>
<fx:String>Link 3</fx:String>
</mx:dataProvider>
</mx:LinkBar>
<mx:LinkBar right="0">
<mx:dataProvider>
<fx:String>Link 1</fx:String>
<fx:String>Link 2</fx:String>
</mx:dataProvider>
</mx:LinkBar>
</s:Group>
精彩评论