I took a look at the code, assuming you mean that you wanted the tabs on
the top of the screen.

If you look at org/apache/flex/mobile/beads/TabbedViewManagerView - which
is the view bead the TabbedViewManager uses - you'll see
layoutChromeElements function. This is where the tab bar is being placed
at the bottom.

You can make your own extension of this class and override the
layoutChromeElements function and place the tab bar at the top. Then
substitute your view bead either using CSS or MXML:

TabbedViewManager {
    IBeadView: ClassReference('path.to.your.view.bead');
}

or

<js:TabbedViewManager properties-here>
   <js:beads>
      <yours:YourViewBead />
    </js:beads>
</js:TabbedViewManager>

Something like that.

‹peter

On 8/16/16, 8:36 PM, "Alex Harui" <aha...@adobe.com> wrote:

>Hi Dhwani,
>
>What do you mean by "move tabs"?  The underlying code probably has some
>layout logic.  You may need to swap in a different layout.
>
>-Alex
>
>On 8/16/16, 4:22 PM, "dhwanishah85" <dhwanisha...@gmail.com> wrote:
>
>>Hi Peter,
>>
>>I am using TabbedViewManager for my example to show tab layout. I am
>>trying
>>to move tabs on top.Nothing is working out. Is it possible to move tabs
>>on
>>top?
>>
>>Thanks
>>Dhwani
>>My Apache Flex community contribution is working on the open source
>>Moonshine-IDE.com for FlexJS.
>>
>>
>>
>>--
>>View this message in context:
>>http://apache-flex-development.2333347.n4.nabble.com/FlexJS-need-help-in-
>>c
>>reating-reusable-tabBar-control-tp54492p54509.html
>>Sent from the Apache Flex Development mailing list archive at Nabble.com.
>

Reply via email to