Results 1 to 2 of 2

Thread: Sencha touch 2 tab.Panel and hiding tabs

  1. #1
    Sencha User
    Join Date
    Mar 2012
    Vote Rating

    Default Sencha touch 2 tab.Panel and hiding tabs


    Bear with me - I'm completely new to Sencha Touch 2 and this whole paradigm but I need help with figuring out how to do something.

    Basically I have Main.js in my view/ directory as a tab.Panel and that references the views Home.js, Matches.js and People.js also in the view/ directory from the bottom toolbar.

    The People.js view is also a tab.Panel which then references Frends.js, Events.js, Twitter.js and Facebook.js but the problem I am having is that I don't know how to specify a default landing page when the People tab is tapped at the bottom of the screen.

    What I want to be able to do is show a landing page of some description when the People tab is tapped and not to have any of the tab.Panels shown in the top navigation page shown by default, but only to have them shown when the user taps.

    The attached screenshot gives an idea of the layout I have. Any suggestions would be well appreciated.



  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Gainesville, FL
    Vote Rating


    Wrap the child tab panel in a container using card layout. First card be your landing page the second being the tab panel.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts