0 Replies Latest reply on Aug 30, 2011 10:58 AM by KomputerMan.com

    TabNavigator and Tab Alignment

    KomputerMan.com Level 1

      I have a TabNavigator control with 6 different tabs.  I want the last tab to be right aligned while the other 5 are left aligned.  I know this is possible because I;'ve done it before but like a dumbazz I forgot where i put that code snippet and now can't find it anywhere.  Please help if ya can... Thanks!!!

       

       

      This is the code I have in place to create the tabs, it is the terminateCoCanvasID tab I need to right align.

       

      <mx:TabNavigator

      id="DBTabNavID" width="100%" height="100%" change="ChangeProvTab()" creationPolicy="all" >

       

      <mx:Canvas id="companyCanvasID" label="Company Information" height="100%" width="100%" >

       

         <DBs:db_CoInfo id="dbCoInfoID" width="100%" height="100%" />

       

      </mx:Canvas>

       

      <mx:Canvas id="dbAssociatesCanvasID" label="Associates" height="100%" width="100%" >

       

         <DBs:db_Associates id="dbAssociateFormID" width="100%" height="100%" />

       

      </mx:Canvas>

       

      <mx:Canvas id="removeAssociateCanvasID" label="Remove Associate" height="100%" width="100%" >

       

        <DBs:db_RemoveAssociate id="db_RemoveAssociateID" width="100%" height="100%" />

       

      </mx:Canvas>

       

      <mx:Canvas id="addAssociateCanvasID" label="Add Associate" height="100%" width="100%" >

       

        <DBs:db_AddAssociate id="db_AddAssociateID" width="100%" height="100%" />

       

      </mx:Canvas>

       

      <mx:Canvas id="coTransHistCanvasID" label="Transactions" height="100%" width="100%" >

       

        <comp:transactionHistory id="coTransactionHistoryID" width="100%" height="100%" />

       

      </mx:Canvas>

       

      <mx:Canvas id="terminateCoCanvasID" label="Terminate Company" height="100%" width="100%" >

       

        <!--<comp:transactionHistory id="coTransactionHistoryID" width="100%" height="100%" />-->

      </mx:Canvas>

      </mx:TabNavigator>

       

       

      Thanks in advance for hellping me through this brainfart...