Hello,

I have a very newbish question, but just 
can't find the right attribute in the docs -
in a set of 2 LinkBar's, how do you change
their alignment? Why do I have the first
LinkBar centered, but the 2nd - left-aligned?

I tried diff. attributes, like horizontalAlignment etc.

Below is my test code, thank you
Alex

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
    
    <mx:LinkBar dataProvider="{stack1}"/>
    <mx:ViewStack id="stack1" width="100%" height="100%">
        <mx:Canvas label="Canvas 1" width="100%" height="100%">
        </mx:Canvas>
        <mx:Canvas label="Canvas 2" width="100%" height="100%">
        </mx:Canvas>

        <mx:Canvas label="Canvas 3..." width="100%" height="100%">
          <mx:LinkBar dataProvider="{stack2}"/>
          <mx:ViewStack id="stack2" width="100%" height="100%">
          <mx:Canvas label="Canvas A" width="100%" height="100%">
          </mx:Canvas>
          <mx:Canvas label="Canvas B" width="100%" height="100%">
          </mx:Canvas>
          <mx:Canvas label="Canvas C" width="100%" height="100%">
          </mx:Canvas>
            </mx:ViewStack>
        </mx:Canvas>
        
        <mx:Canvas label="Canvas 4" width="100%" height="100%">
        </mx:Canvas>
        <mx:Canvas label="Canvas 5" width="100%" height="100%">
        </mx:Canvas>
    </mx:ViewStack>

</mx:Application>



Reply via email to