5 Replies Latest reply on Sep 4, 2009 10:19 PM by 435.mahesh

    problem in linkbar?

    435.mahesh

      Hi
      i have an applicationcontrolbar.Inside that linkbar will be thr.
      But my requirement is i want linkbar to right side in applicationcontrolbar.But it is
      not moving to right side.I have x and y attributes for both(applicationcontrolbar and linkbar).
      plz help me

       

      --
      Regards
      D.Mahesh Babu

        • 1. Re: problem in linkbar?
          Bhavika_Patil

          Did you put link bar in HBOX?    

          • 2. Re: problem in linkbar?
            Andrew Rosewarn Level 3

            HI

             

            ApplicationBar has a horizontalAlignment property set that to right

             

            <?xml version="1.0" encoding="utf-8"?>
            <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"  >
                <mx:Script>
                    <![CDATA[
                       
                    ]]>
                </mx:Script>
                <mx:ApplicationControlBar y="10" left="10" right="10" horizontalAlign="right">
                    <mx:LinkBar dataProvider="['One','Two,'Three'']">
                    </mx:LinkBar>
                </mx:ApplicationControlBar>
               
            </mx:Application>

             

            If you also need items to the left use a Spacer and set the width to 100% to push them apart.

             

            Hop this helps

             

            Andrew

            • 3. Re: problem in linkbar?
              435.mahesh Level 1

              Thanq.

              i have applicationcontrobar.

              Inside two buttons(home and admin) and linkbar(aplat|st) and linkbutton(signout).

              applicationcontrolbar look like this

              ------------------------------------------------------------------------------------------ -

              home,admin                                           ap|at|st   signout

               

              How to achieve this?

               

               

               

               

               

              Regards

              D.Mahesh Babu

               

              • 4. Re: problem in linkbar?
                Andrew Rosewarn Level 3

                Use a spacer to seperate

                 

                <?xml version="1.0" encoding="utf-8"?>
                <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"  >
                    <mx:Script>
                        <![CDATA[
                          
                        ]]>
                    </mx:Script>
                    <mx:ApplicationControlBar y="10" left="10" right="10" horizontalAlign="right">
                        <mx:Button label="Button"/>
                        <mx:Button label="Button"/>
                        <mx:Spacer width="100%"/>
                        <mx:LinkBar dataProvider="['One','Two,'Three'']">
                        </mx:LinkBar>
                    </mx:ApplicationControlBar>
                  
                </mx:Application>