layout - Flex: Tab Navigator tab position -


i need develop tab navigator few tabs on left hand side , 1 tab on right hand side, have experimented "taboffset" property, not seem able help

enter image description here

thanks in advance!

i made custom tabnavigator component.

package { import mx.containers.tabnavigator; import mx.controls.button; import mx.events.flexevent;  public class customtabnavigator extends tabnavigator {     public function customtabnavigator()     {         super();     }      override protected function createchildren(): void     {         super.createchildren();         tabbar.addeventlistener(flexevent.creation_complete, addspacer);     }      public function addspacer(event: flexevent): void     {         var buttoncount: int = tabbar.getchildren().length;          var _width : number = this.width;         var button: button = tabbar.getchildat(buttoncount-1) button;          _width = _width - button.width;         button.x = _width;     } } } 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -