0
votes

Iam using sencha touch for building mobile application, Ia m using card layout switch in my tab panel. sometimes the card layout is not working properly. Please help me regarding this.

App.views.TabPanelView = Ext.extend(Ext.TabPanel, {
cardSwitchAnimation: {
            type: 'slide',
            cover: true
        },

        defaults: {
            scroll: 'horizontal'
        },
       items: [item1, item2,item3,item4,item5]
  }
  }
2
when am switching from item5 to item1 sometimes it's not showing the item1 tab. sometimes it's works fine like a charm.Nag
Could you give the declaration of the items or at least their type (panel, list, nested list...)Titouan de Bailleul

2 Answers

0
votes

First you should change horizantal to horizontal

0
votes

simple Just Put cover: false in your cardSwitchAnimation. Hope it works